accessible view | jump to content | search | jump to site-wide navigation
AFP - allowing admins to mount individual sharepoints
With AppleFileSharing, it was determined that those with admin access
could only mount Volumes and not individual Shared folders. This was
not only confusing (admins got a different list of shares than non-admins)
but made it so AFP URLs had to be different for those with admin access
and those without. After doing much research, I came across the
"admin_gets_sp" (admin gets Share Points) flag. Set it to 1 instead of 0.
ssh rotten.lsait.lsa.umich.edu
sudo niutil -createprop . /config/AppleFileServer admin_gets_sp 1
Verify it was set with:
niutil -read . /config/AppleFileServer | grep admin
Restart Apple File Sharing on the server, and poof—it works.
A slightly negative side effect of this is that admins no longer get the whole volume now, so you'd have to explicitly share those if desired.