Интерактивная система просмотра системных руководств (man-ов)
getfacl (1)
getfacl (1) ( Solaris man: Команды и прикладные программы пользовательского уровня )
>> getfacl (1) ( FreeBSD man: Команды и прикладные программы пользовательского уровня )
getfacl (1) ( Linux man: Команды и прикладные программы пользовательского уровня )
BSD mandoc
NAME
getfacl
- get ACL information
SYNOPSIS
[-dhq
]
[file ...
]
DESCRIPTION
The
utility writes discretionary access control information associated with
the specified file(s) to standard output.
If the
getconf(1)
utility indicates that
Eq { } Va _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
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
file
-h
If the target of the operation is a symbolic link, return the ACL from
the symbolic link itself rather than following the link.
-q
Do not write commented information about file name and ownership.
This is
useful when dealing with filenames with unprintable characters.
The following operand is available:
file
A pathname of a file whose ACL shall be retrieved.
If
file
is not specified, or a
file
is specified as
-,
then
reads a list of pathnames, each terminated by one newline character,
from the standard input.
EXIT STATUS
Ex -std
EXAMPLES
getfacl
Retrieve ACL for the directory
/
getfacl -d
Retrieve the default ACL for the directory
/
if any.