Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2015-12-21 15:05:41 +0300
committerCorinna Vinschen <corinna@vinschen.de>2015-12-21 15:05:41 +0300
commitddb7e770dd48a97fe80cca3ab3b26d85f3ac5139 (patch)
tree0ac801cd53c6ecf5610009e12ce06264d0ecfcfa /winsup/doc/utils.xml
parentf5ad6fbb66f4abdf57b75f22017d3d70c56f27f8 (diff)
setfacl(1): Rewrite support for mask recomputation
* setfacl.cc (modacl): Move recomputing mask into new function. (check_got_mask): New function checking if mask is in input. (recompute_mask): New function to recompute mask. (addmissing): Align mask computation to Linux setfacl. (setfacl): Call check_got_mask and recompute_mask on Set, Delete and Modify actions. (usage): Rename --substitute to --set. (longopts): Add --set option. * utils.xml (setfacl): Rename --substitute to --set. * new-features.xml (ov-new2.4): Rephrase setfacl changes. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/doc/utils.xml')
-rw-r--r--winsup/doc/utils.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/doc/utils.xml b/winsup/doc/utils.xml
index d0f871efe..a00384e5f 100644
--- a/winsup/doc/utils.xml
+++ b/winsup/doc/utils.xml
@@ -1996,7 +1996,7 @@ setfacl [-n] {[-bk]|[-x acl_entries] [-m acl_entries]} FILE...
-m, --modify modify one or more specified ACL entries\n"
-n, --no-mask don't recalculate the effective rights mask\n"
--mask do recalculate the effective rights mask\n"
- -s, --substitute substitute specified ACL entries on FILE\n"
+ -s, --set set specified ACL entries on FILE\n"
-V, --version print version and exit\n"
-h, --help this help text\n"
@@ -2100,8 +2100,8 @@ $ getfacl source_file | setfacl -f - target_file
recalculate the effective rights mask, even if an ACL mask entry was
explicitly given. (See the -n option.) </para>
- <para> <literal>-s</literal>,<literal>--substitute</literal> Like
- <literal>-f</literal>, but substitute the file's ACL with Acl_entries
+ <para> <literal>-s</literal>,<literal>--set</literal> Like
+ <literal>-f</literal>, but set the file's ACL with Acl_entries
specified in a comma-separated list on the command line. </para>
<para> While the <literal>-x</literal> and <literal>-m</literal> options