I have an OSX box containing a script which writes a unique file to a Samba share. The first part of the script mounts the share.
On the machine are 2 users- UserA and UserB. Each requires to run this script at any given time however only the user who mounted the share is able to write to it. I really need both users to have rwx
access.
Here is what I have tried:
Mounting then
chmod
'ing the mountpoint (no effect- overruled by Samba server?)chmod
'ing the mountpoint then mounting (same as above)sudo mount_smbfs
Both users have admin privileges. Ideally a solution would be executable by one of the users (contained in the script) and not rely on mounting at machine boot time.
Any ideas appreciated, thanks!