Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. # users: wilma, betty
  2. # group: devs contains wilma and betty.
  3. # directory: 'dir'
  4.  
  5. chgrp -R devs dir
  6. find dir -type d -exec chmod 2770 {} +
  7. find dir -type f -exec chmod 660 {} +
  8. setfacl -d -R -m group:devs:rwx dir
  9. setfacl -R -m group:devs:rwx dir
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement