Thursday, January 10, 2013

File permissions with ACL


Default group privileges for new files and directories:

setfacl -R -d -m g::rwX <path>

Don't forget to do chmod g+s to set setuid bit so that file objects inherit group.

No comments:

Post a Comment