Guest User

Untitled

a guest
Nov 22nd, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. drwxrwxr-x+ 2 myuser another_user 512 Nov 20 2013 foobar
  2.  
  3. [myuser@hosting_server]$ getfacl foobar
  4. # file: foobar/
  5. # owner: myuser
  6. # group: another_user
  7. user::rwx
  8. group::rwx
  9. mask::rwx
  10. other::r-x
  11.  
  12. setfacl -b foobar
  13.  
  14. setfacl -bn foobar
  15.  
  16. -n Do not recalculate the permissions associated with the ACL mask
  17. entry. This option is not applicable to NFSv4 ACLs.
  18.  
  19. ls -l | grep foobar
  20. drwxr-xr-x+ 2 maulinglawns maulinglawns 4096 jan 24 14:25 foobar
  21.  
  22. setfacl -b foobar/
  23. ls -l | grep foobar
  24. drwxr-xr-x 2 maulinglawns maulinglawns 4096 jan 24 14:25 foobar
  25.  
  26. Distributor ID: Debian
  27. Description: Debian GNU/Linux 8.7 (jessie)
  28. Release: 8.7
  29. Codename: jessie
Add Comment
Please, Sign In to add comment