summaryrefslogtreecommitdiffstats
path: root/bin/setfacl/setfacl.1
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-12-30 15:36:29 +0000
committerrwatson <rwatson@FreeBSD.org>2002-12-30 15:36:29 +0000
commit635446ba11e2a1a17dfab3a542618140301439d7 (patch)
tree1714c56775a1e6ff9a8dab17683f2e906d4b829e /bin/setfacl/setfacl.1
parent059407e4d960a3ca304d62b719437fcbcca73704 (diff)
downloadFreeBSD-src-635446ba11e2a1a17dfab3a542618140301439d7.zip
FreeBSD-src-635446ba11e2a1a17dfab3a542618140301439d7.tar.gz
Add "-h" arguments to getfacl and setfacl, which behave in a manner
similar to "-h" on chown, chmod, etc, causing the operation to occur on a final symlink in the provided path, rather than its target. Obtained from: TrustedBSD Project
Diffstat (limited to 'bin/setfacl/setfacl.1')
-rw-r--r--bin/setfacl/setfacl.15
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/setfacl/setfacl.1 b/bin/setfacl/setfacl.1
index ce27f58..43eba96 100644
--- a/bin/setfacl/setfacl.1
+++ b/bin/setfacl/setfacl.1
@@ -33,7 +33,7 @@
.Nd set ACL information
.Sh SYNOPSIS
.Nm
-.Op Fl bdkn
+.Op Fl bdhkn
.Op Fl m Ar entries
.Op Fl M Ar file1
.Op Fl x Ar entries
@@ -63,6 +63,9 @@ entries of the current ACL.
The operations apply to the default ACL entries instead of
access ACL entries. Currently only directories may have
default ACL's.
+.It Fl h
+If the target of the operation is a symbolic link, perform the operation
+on the symbolic link itself, rather than following the link.
.It Fl k
Delete any default ACL entries on the specified files. It
is not considered an error if the specified files do not have
OpenPOWER on IntegriCloud