GETFACL(1) | General Commands Manual | GETFACL(1) |
getfacl
—
getfacl |
[-dhinqv ] [file ...] |
getfacl
utility writes discretionary access control
information associated with the specified file(s) to standard output. If the
getconf(1) utility indicates
that {_POSIX_ACL_EXTENDED} is not in effect for a
file then the standard discretionary access permissions
are interpreted as an ACL containing only the required ACL entries.
The following option is available:
-d
-h
-i
-n
-q
-v
The following operand is available:
-
, then
getfacl
reads a list of pathnames, each terminated
by one newline character, from the standard input.For an explanation of the ACL syntax, see the setfacl(1) manual page.
getfacl
utility exits 0 on success,
and >0 if an error occurs.
getfacl /
Retrieve ACL for the directory /.
getfacl -d /
Retrieve the default ACL for the directory /, if any.
getfacl
utility is expected to be IEEE Std 1003.2c
compliant.
September 4, 2009 | NetBSD 10.1 |