Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:access-control-lists [2017/10/27 18:17] – [Removing FACLs] michael | linux:access-control-lists [2019/03/07 13:51] (current) – michael | ||
---|---|---|---|
Line 13: | Line 13: | ||
'' | '' | ||
- | ---- | ||
===== Viewing ACLs ===== | ===== Viewing ACLs ===== | ||
Line 38: | Line 37: | ||
</ | </ | ||
- | Notice the 3 different user: lines. The first line lists the standard file permissions of the owner of the file. The 2 other user permissions are the individual permission for the user john and sam. The mask field here only applies to the additional permissions we have given to the user and groups. If the mask is set to rwx the read, write and execute permissions will be granted to additional user/ | + | Notice the 3 different user: lines. The first line lists the standard file permissions of the owner of the file. The 2 other user permissions are the individual permission for the user john and sam. The mask field here only applies to the additional permissions we have given to the user and groups. If the mask is set to rwx the read, write and execute permissions will be granted to additional user/ |
Line 58: | Line 57: | ||
</ | </ | ||
</ | </ | ||
- | |||
- | ---- | ||
Line 70: | Line 67: | ||
* FACLs for multiple user and groups can also be set with single command : < | * FACLs for multiple user and groups can also be set with single command : < | ||
- | |||
- | ---- | ||
===== Default FACLs on directories ===== | ===== Default FACLs on directories ===== | ||
Line 120: | Line 115: | ||
</ | </ | ||
- | ---- | ||
===== Removing FACLs ===== | ===== Removing FACLs ===== | ||
Line 134: | Line 128: | ||
< | < | ||
- | ---- | ||
===== Backing up the FACLs ===== | ===== Backing up the FACLs ===== | ||
Line 143: | Line 136: | ||
# getfacl -R * > accounts_facl | # getfacl -R * > accounts_facl | ||
- | ---- | ||
===== Restoring the FACLs ===== | ===== Restoring the FACLs ===== |