Recursively apply ACL permissions on Mac OS X (Server)?
Posted
by
mralexgray
on Server Fault
See other posts from Server Fault
or by mralexgray
Published on 2012-04-16T04:13:23Z
Indexed on
2012/04/16
5:33 UTC
Read the original article
Hit count: 243
For years I've used the strong-armed-duo of these two suckers...
sudo chmod +a "localadmin allow read,write,append,execute,\
delete,readattr,writeattr,readextattr,writeextattr,\
readsecurity,writesecurity,chown"
sudo chmod +a "localadmin allow list,search,add_file,add_subdirectory,\
delete_child,readattr,writeattr,readextattr,\
writeextattr,readsecurity,writesecurity,chown"
to, for what I figured was a recursive, and all-encompassing, whole-volume-go-ahead for each and every privilege available (for a user, localadmin
). Nice when I, localadmin
, want to "do something" without a lot of whining about permissions, etc.
The beauty is, this method obviates the necessity to change ownership / group membership, or executable bit on anything. But is it recursive? I am beginning to think, it's not. If so, how do I do THAT? And how can one check something like this? Adding this single-user to the ACL doesn't show up in the Finder, so… Alright, cheers.
© Server Fault or respective owner