getfacl
Displays the Access Control Lists (ACLs) of files and directories.
If a directory has a default ACL, then getfacl
also displays the default ACL.
Returns 0
on success and non-zero on error.
The usage is as follows:
$ hadoop fs -getfacl [-R] <path>
-R |
Lists the ACLs of all files and directories recursively |
<path> |
File or directory to list |
Example:
$ hadoop fs -getfacl /file
$ hadoop fs -getfacl -R /dir