Multiple users writing to one Samba mount point in OSX
Posted
by
Sam
on Server Fault
See other posts from Server Fault
or by Sam
Published on 2011-11-23T16:23:40Z
Indexed on
2011/11/23
17:54 UTC
Read the original article
Hit count: 247
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!
© Server Fault or respective owner