acl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Acl-devel] [PATCH acl 7/8] man: Document setfacl --restore=-


From: Guillem Jover
Subject: [Acl-devel] [PATCH acl 7/8] man: Document setfacl --restore=-
Date: Sat, 20 Jul 2019 04:24:38 +0200

This special argument was not previously documented, and it is not
obvious from it might be supported.

Signed-off-by: Guillem Jover <address@hidden>
---
 man/man1/setfacl.1 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/man/man1/setfacl.1 b/man/man1/setfacl.1
index c4fe1f2..f1b5cb8 100644
--- a/man/man1/setfacl.1
+++ b/man/man1/setfacl.1
@@ -30,7 +30,7 @@ setfacl \- set file access control lists
 [\-bkndRLPvh] [{\-m|\-x} acl_spec] [{\-M|\-X} acl_file] file ...
 
 .B setfacl
-\-\-restore=file
+\-\-restore={file|-}
 
 .SH DESCRIPTION
 This utility sets Access Control Lists (ACLs) of files and directories.
@@ -107,13 +107,14 @@ All operations apply to the Default ACL. Regular ACL 
entries in the
 input set are promoted to Default ACL entries. Default ACL entries in
 the input set are discarded. (A warning is issued if that happens).
 .TP 4
-.I \-\-restore=file
+.I \-\-restore={file|-}
 Restore a permission backup created by `getfacl \-R' or similar. All 
permissions
 of a complete directory subtree are restored using this mechanism. If the input
 contains owner comments or group comments, setfacl attempts to restore the
 owner and owning group. If the input contains flags comments (which define the 
setuid,
 setgid, and sticky bits), setfacl sets those three bits accordingly; otherwise,
 it clears them. This option cannot be mixed with other options except 
`\-\-test'.
+If the file specified is '\fB-\fP', then it will be read from standard input.
 .TP 4
 .I \-\-test
 Test mode. Instead of changing the ACLs of any files, the resulting ACLs are 
listed.
-- 
2.22.0.657.g960e92d24f




reply via email to

[Prev in Thread] Current Thread [Next in Thread]