summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2016-05-19 10:28:13 +0200
committerAndreas Gruenbacher <agruenba@redhat.com>2016-05-19 11:09:21 +0200
commitea3c6bb711e76d91759f8bf5475e1900362a3142 (patch)
treebcb47512cca89d98c852aa3117acaaffd55de40d
parent37ce8f5a79a0c7c86875d7fd2e3c21f5aaeaf6ad (diff)
downloadacl-ea3c6bb711e76d91759f8bf5475e1900362a3142.tar.gz
setfacl.1: document the meaning of '-' in perms
[agruen: Description further clarified.]
-rw-r--r--man/man1/setfacl.128
1 files changed, 21 insertions, 7 deletions
diff --git a/man/man1/setfacl.1 b/man/man1/setfacl.1
index 3d06031..c4fe1f2 100644
--- a/man/man1/setfacl.1
+++ b/man/man1/setfacl.1
@@ -200,18 +200,32 @@ backslash must be escaped (i.e.,
.PP
The
.I perms
-field is a combination of characters that indicate the permissions: read
+field is a combination of characters that indicate the read
.IR (r) ,
write
.IR (w) ,
execute
-.IR (x) ,
-execute only if the file is a directory or already has execute permission
-for some user
-.IR (X) .
-Alternatively, the
+.IR (x)
+permissions. Dash characters in the
.I perms
-field can be an octal digit (0\-7).
+field
+.IR (\-)
+are ignored. The character
+.I X
+stands for the execute permission if the file is a directory or already has
+execute permission for some user. Alternatively, the
+.I perms
+field can define the permissions numerically, as a bit-wise combination of read
+.IR (4) ,
+write
+.IR (2) ,
+and execute
+.IR (1) .
+Zero
+.I perms
+fields or
+.I perms
+fields that only consist of dashes indicate no permissions.
.PP
.SS AUTOMATICALLY CREATED ENTRIES
Initially, files and directories contain only the three base ACL entries