Blame SOURCES/acl-2.2.52-setfacl-man-page.patch

766e90
From ecee95a94420d6b0336d4caec6bc66b53442367b Mon Sep 17 00:00:00 2001
766e90
From: Kamil Dudka <kdudka@redhat.com>
766e90
Date: Thu, 19 May 2016 10:28:13 +0200
766e90
Subject: [PATCH] setfacl.1: document the meaning of '-' in perms
766e90
766e90
[agruen: Description further clarified.]
766e90
766e90
Upstream-commit: ea3c6bb711e76d91759f8bf5475e1900362a3142
766e90
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
766e90
---
766e90
 man/man1/setfacl.1 | 28 +++++++++++++++++++++-------
766e90
 1 file changed, 21 insertions(+), 7 deletions(-)
766e90
766e90
diff --git a/man/man1/setfacl.1 b/man/man1/setfacl.1
766e90
index 0c7c046..e092e51 100644
766e90
--- a/man/man1/setfacl.1
766e90
+++ b/man/man1/setfacl.1
766e90
@@ -194,18 +194,32 @@ you can specify either a name or a number.
766e90
 .PP
766e90
 The
766e90
 .I perms
766e90
-field is a combination of characters that indicate the permissions: read
766e90
+field is a combination of characters that indicate the read
766e90
 .IR (r) ,
766e90
 write
766e90
 .IR (w) ,
766e90
 execute
766e90
-.IR (x) ,
766e90
-execute only if the file is a directory or already has execute permission
766e90
-for some user
766e90
-.IR (X) .
766e90
-Alternatively, the
766e90
+.IR (x)
766e90
+permissions.  Dash characters in the
766e90
 .I perms
766e90
-field can be an octal digit (0\-7).
766e90
+field
766e90
+.IR (\-)
766e90
+are ignored.  The character
766e90
+.I X
766e90
+stands for the execute permission if the file is a directory or already has
766e90
+execute permission for some user.  Alternatively, the
766e90
+.I perms
766e90
+field can define the permissions numerically, as a bit-wise combination of read
766e90
+.IR (4) ,
766e90
+write
766e90
+.IR (2) ,
766e90
+and execute
766e90
+.IR (1) .
766e90
+Zero
766e90
+.I perms
766e90
+fields or
766e90
+.I perms
766e90
+fields that only consist of dashes indicate no permissions.
766e90
 .PP
766e90
 .SS AUTOMATICALLY CREATED ENTRIES
766e90
 Initially, files and directories contain only the three base ACL entries
766e90
-- 
766e90
2.5.5
766e90