linux:access-control-lists

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
linux:access-control-lists [2017/10/27 18:27] – [Viewing ACLs] michaellinux:access-control-lists [2019/03/07 13:51] (current) michael
Line 13: Line 13:
 ''Note the **+** sign at the end of the permissions. This confirms that the file has an ACL attached to it.'' ''Note the **+** sign at the end of the permissions. This confirms that the file has an ACL attached to it.''
  
----- 
  
 ===== Viewing ACLs ===== ===== Viewing ACLs =====
Line 58: Line 57:
 </sxh> </sxh>
 </WRAP> </WRAP>
- 
----- 
  
  
Line 70: Line 67:
   * FACLs for multiple user and groups can also be set with single command : <code># setfacl -m u:john:rw,g:accounts:rwx /tmp/test</code>   * FACLs for multiple user and groups can also be set with single command : <code># setfacl -m u:john:rw,g:accounts:rwx /tmp/test</code>
  
- 
----- 
  
 ===== Default FACLs on directories ===== ===== Default FACLs on directories =====
Line 120: Line 115:
 </WRAP> </WRAP>
  
----- 
  
 ===== Removing FACLs ===== ===== Removing FACLs =====
Line 134: Line 128:
 <code># setfacl -b /tmp/test</code> <code># setfacl -b /tmp/test</code>
  
----- 
  
 ===== Backing up the FACLs ===== ===== Backing up the FACLs =====
Line 143: Line 136:
 # getfacl -R * > accounts_facl        ( -R -> recursive )</code> # getfacl -R * > accounts_facl        ( -R -> recursive )</code>
  
----- 
  
 ===== Restoring the FACLs ===== ===== Restoring the FACLs =====
  • linux/access-control-lists.1509121678.txt.gz
  • Last modified: 2017/10/27 18:27
  • by michael