10.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.
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.