Tell me more ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I want to give another user permission to a mount point of a network resource. The directory mode is 700 and the owner is, of course, the logged in user who created the mount point.

I have programs running as different users which have to access the resource as well, but they are unable to. I would like to change the file mode of the mount point located in /Volumes/, but -probably for security reasons- this cannot be done by simply using the sudo chmod go+rx /Volumes/<mount point>/ command.

How can I give other users permissions to my mount point of a network resource?

share|improve this question
1  
Depending on how the network share is exported you may not be able to change permissions at all. Which protocol do you use to mount the network resource CIFS, AFP, NFS)? Could you post the output of mount? – jaume Feb 27 at 10:59
It's done the Mac way: via Finder. It's an AFP share (located on a Mac Server). mount output: afp_4dskZR4jbiYw4tTvjg2EIbez-2.2d000004 on /Volumes/Work in Progress (afpfs, nodev, nosuid, mounted by foto5). I prefer to keep it the Mac way. I don't want to edit fstab manually to create static mount points (for example) – Christian Stadegaart Feb 27 at 11:15
Thanks, if the user you use to log in (foto5) has enough privileges you can you try to add permissions in the 'Get Info' window (Command-I) of the mounted network volume. sudo chmod go+rx ... should be OK but will give all users read-only access, would that be enough? – jaume Feb 27 at 12:13
   
As with most network mounts, the node should get the same mode as the directory on the server. The only way to use chmod to change the node mode is to override the original server permissions by defining options via the -o option when using mount (noowners when using an afp mount point. CIFS offers more options for this matter). But the directory mode on the server is 750, which doesn't mirror the clients node mode of 700. Something is happening there... By the way, like I said, sudo chmod doesn't work and cmd-I doesn't offer anything to manipulate the mode / permissions of the node. – Christian Stadegaart Feb 27 at 12:38
If I'm not mistaken, isn't this by design? If a server provides access control, it makes sense that you as a user account cannot override those permissions to provision further access to other users. I have never been able to get this to work on Mac or Windows. – bispymusic Mar 2 at 20:26

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.