Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # users: wilma, betty
- # group: devs contains wilma and betty.
- # directory: 'dir'
- chgrp -R devs dir
- find dir -type d -exec chmod 2770 {} +
- find dir -type f -exec chmod 660 {} +
- setfacl -d -R -m group:devs:rwx dir
- setfacl -R -m group:devs:rwx dir
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement