summaryrefslogtreecommitdiffstats
path: root/bin/getfacl/getfacl.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/getfacl/getfacl.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/getfacl/getfacl.1')
-rw-r--r--bin/getfacl/getfacl.19
1 files changed, 6 insertions, 3 deletions
diff --git a/bin/getfacl/getfacl.1 b/bin/getfacl/getfacl.1
index 291999a..16faf77 100644
--- a/bin/getfacl/getfacl.1
+++ b/bin/getfacl/getfacl.1
@@ -1,5 +1,5 @@
.\"-
-.\" Copyright (c) 2000-2001 Robert N. M. Watson
+.\" Copyright (c) 2000, 2001, 2002 Robert N. M. Watson
.\" All rights reserved.
.\"
.\" This software was developed by Robert Watson for the TrustedBSD Project.
@@ -30,7 +30,7 @@
.\" Developed by the TrustedBSD Project.
.\" Support for POSIX.1e access control lists.
.\"
-.Dd March 30, 2000
+.Dd Decemer 30, 2002
.Dt GETFACL 1
.Os
.Sh NAME
@@ -38,7 +38,7 @@
.Nd get ACL information
.Sh SYNOPSIS
.Nm
-.Op Fl d
+.Op Fl dh
.Op Ar
.Sh DESCRIPTION
The
@@ -61,6 +61,9 @@ The operation applies to the default ACL of a directory instead of the
access ACL.
An error is generated if a default ACL cannot be associated with
.Ar file .
+.It Fl h
+If the target of the operation is a symbolic link, return the ACL from
+the symbol link itself rather than following the link.
.El
.Pp
The following operand is available:
OpenPOWER on IntegriCloud