Blame SOURCES/1337039-mpo-7.3.0-setfacl.1.patch
|
|
1bb262 |
From 1d3077cf7690317161b9c3e183d54fb8107a80d4 Mon Sep 17 00:00:00 2001
|
|
|
1bb262 |
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
|
|
|
1bb262 |
Date: Tue, 28 Jun 2016 14:44:50 +0200
|
|
|
1bb262 |
Subject: [PATCH 17/17] setfacl.1: document the meaning of '-' in perms
|
|
|
1bb262 |
|
|
|
1bb262 |
---
|
|
|
1bb262 |
acl/man1/setfacl.1 | 28 +++++++++++++++++++++-------
|
|
|
1bb262 |
1 file changed, 21 insertions(+), 7 deletions(-)
|
|
|
1bb262 |
|
|
|
1bb262 |
diff --git a/acl/man1/setfacl.1 b/acl/man1/setfacl.1
|
|
|
1bb262 |
index 0c7c046..e092e51 100644
|
|
|
1bb262 |
--- a/acl/man1/setfacl.1
|
|
|
1bb262 |
+++ b/acl/man1/setfacl.1
|
|
|
1bb262 |
@@ -194,18 +194,32 @@ you can specify either a name or a number.
|
|
|
1bb262 |
.PP
|
|
|
1bb262 |
The
|
|
|
1bb262 |
.I perms
|
|
|
1bb262 |
-field is a combination of characters that indicate the permissions: read
|
|
|
1bb262 |
+field is a combination of characters that indicate the read
|
|
|
1bb262 |
.IR (r) ,
|
|
|
1bb262 |
write
|
|
|
1bb262 |
.IR (w) ,
|
|
|
1bb262 |
execute
|
|
|
1bb262 |
-.IR (x) ,
|
|
|
1bb262 |
-execute only if the file is a directory or already has execute permission
|
|
|
1bb262 |
-for some user
|
|
|
1bb262 |
-.IR (X) .
|
|
|
1bb262 |
-Alternatively, the
|
|
|
1bb262 |
+.IR (x)
|
|
|
1bb262 |
+permissions. Dash characters in the
|
|
|
1bb262 |
.I perms
|
|
|
1bb262 |
-field can be an octal digit (0\-7).
|
|
|
1bb262 |
+field
|
|
|
1bb262 |
+.IR (\-)
|
|
|
1bb262 |
+are ignored. The character
|
|
|
1bb262 |
+.I X
|
|
|
1bb262 |
+stands for the execute permission if the file is a directory or already has
|
|
|
1bb262 |
+execute permission for some user. Alternatively, the
|
|
|
1bb262 |
+.I perms
|
|
|
1bb262 |
+field can define the permissions numerically, as a bit-wise combination of read
|
|
|
1bb262 |
+.IR (4) ,
|
|
|
1bb262 |
+write
|
|
|
1bb262 |
+.IR (2) ,
|
|
|
1bb262 |
+and execute
|
|
|
1bb262 |
+.IR (1) .
|
|
|
1bb262 |
+Zero
|
|
|
1bb262 |
+.I perms
|
|
|
1bb262 |
+fields or
|
|
|
1bb262 |
+.I perms
|
|
|
1bb262 |
+fields that only consist of dashes indicate no permissions.
|
|
|
1bb262 |
.PP
|
|
|
1bb262 |
.SS AUTOMATICALLY CREATED ENTRIES
|
|
|
1bb262 |
Initially, files and directories contain only the three base ACL entries
|
|
|
1bb262 |
--
|
|
|
1bb262 |
2.7.4
|
|
|
1bb262 |
|