NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

jszatmary's avatar
jszatmary
Aspirant
Dec 05, 2008

AFP Mount Point Permissions (Solved)

I have the following situation on Leopard 10.5.5:

% mkdir a
% ls -ld a
drwxr-xr-x 2 User staff 68 Dec 4 21:53 a
% mount_afp afp://User:password@readynas/Share
% ls-ld a
drwx------@ 9 User staff 264 Dec 4 21:54 a
% ls -l a/*
drwxr-xr-x@ 4 User staff 264 Dec 4 11:56 a/Stuff
% chmod go+rx a
% ls -ld a
drwx------@ 9 User staff 264 Dec 4 21:54 a

The behavior is identical when mounting through Finder or AppleScript or Automator etc.

So, the permissions on the mount point start out correctly, but after the mount only the user has any access. And, trying to change it afterward (which would be an issue anyway since it would require some hacks during boot/login) does not work. This is a problem because the web server cannot access the share. The files inside the mount have correct permissions.

Is there a way to change the default mount point permissions? From where are these permissions inherited? Are they coming from ReadyNAS or is it a mount behavior? Can either the ReadyNAS share or mount behavior be modified to provide group and world read/execute permissions on the share?

Thanks,

John

11 Replies

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More