summaryrefslogtreecommitdiffstats
path: root/winsup/doc/utils.xml
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/doc/utils.xml')
-rw-r--r--winsup/doc/utils.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/winsup/doc/utils.xml b/winsup/doc/utils.xml
index 655b4e8bb..258baf63d 100644
--- a/winsup/doc/utils.xml
+++ b/winsup/doc/utils.xml
@@ -1695,6 +1695,8 @@ Modify file and directory access control lists (ACLs)
-d, --delete delete one or more specified ACL entries
-f, --file set ACL entries for FILE to ACL entries read
from a ACL_FILE
+ -k, --remove-default
+ remove all default ACL entries
-m, --modify modify one or more specified ACL entries
-r, --replace replace mask entry with maximum permissions
needed for the file group class
@@ -1703,7 +1705,7 @@ Modify file and directory access control lists (ACLs)
-h, --help output usage information and exit
-V, --version output version information and exit
-At least one of (-b, -d, -f, -m, -s) must be specified
+At least one of (-b, -d, -f, -k, -m, -s) must be specified
</screen>
<para> For each file given as parameter, <command>setfacl</command> will
@@ -1774,6 +1776,9 @@ $ getfacl source_file | setfacl -f - target_file
file, one default group entry for the group of the file, one default mask
entry for the file group class, and one default other entry. </para>
+ <para> <literal>-k</literal> Remove all default ACL entries. If no default
+ ACL entries exist, no warnings are issued. </para>
+
<para> <literal>-m</literal> Add or modify one or more specified ACL
entries. Acl_entries is a comma-separated list of entries from the same
list as above. </para>