2017-12-21 03:33:34 +00:00
|
|
|
# getfacl
|
|
|
|
|
2024-02-06 14:16:32 +00:00
|
|
|
> Get file access control lists (ACL).
|
2021-07-09 15:45:55 +01:00
|
|
|
> More information: <https://manned.org/getfacl>.
|
2017-12-21 03:33:34 +00:00
|
|
|
|
|
|
|
- Display the file access control list:
|
|
|
|
|
2019-02-11 18:00:49 +00:00
|
|
|
`getfacl {{path/to/file_or_directory}}`
|
2017-12-21 03:33:34 +00:00
|
|
|
|
2024-02-06 14:16:32 +00:00
|
|
|
- Display the file access control list with [n]umeric user and group IDs:
|
2017-12-21 03:33:34 +00:00
|
|
|
|
2024-02-06 14:16:32 +00:00
|
|
|
`getfacl --numeric {{path/to/file_or_directory}}`
|
2017-12-21 03:33:34 +00:00
|
|
|
|
2024-02-06 14:16:32 +00:00
|
|
|
- Display the file access control list with [t]abular output format:
|
2017-12-21 03:33:34 +00:00
|
|
|
|
2024-02-06 14:16:32 +00:00
|
|
|
`getfacl --tabular {{path/to/file_or_directory}}`
|