Skip to content

Instantly share code, notes, and snippets.

@mfurlend
Created January 28, 2014 16:07
Show Gist options
  • Save mfurlend/8670582 to your computer and use it in GitHub Desktop.
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.
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