Created
January 28, 2014 16:07
-
-
Save mfurlend/8670582 to your computer and use it in GitHub Desktop.
Set group to "dev" and turn group write permissions on for all new files created within this directory. Uses ACL.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mount -o remount,acl / #mount / with acl turned on | |
chgrp dev /path/to/dir -R | |
chmod 7775 /path/to/dir -R | |
setfacl -d -m g:dev:rwX,o::- /path/to/dir #group write to dev for new files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment