Este contenido no está disponible en el idioma seleccionado.
20.4. Retrieving ACLs
To determine the existing ACLs for a file or directory, use the
getfacl command. In the example below, the getfacl is used to determine the existing ACLs for a file.
Example 20.4. Retrieving ACLs
getfacl home/john/picture.png
# getfacl home/john/picture.png
The above command returns the following output:
If a directory with a default ACL is specified, the default ACL is also displayed as illustrated below. For example,
getfacl home/sales/ will display similar output: