commands
getfacl — inspect access control lists
Displays access ACL and directory default ACL when supported. -c omits header; -n displays numeric IDs. Effective comments can show mask-limited rights. Optional ACL utility unavailable in local test environment. Example assumes a fresh permissions lab fixture.
Formal Syntax & Structure
linux syntaxlinux
getfacl [OPTION] FILE...Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| FILE | operand | fixture path |
| -c | option | omit header |
| -n | option | numeric IDs |
Return Value
exit status and output
Displays access ACL and directory default ACL when supported. -c omits header; -n displays numeric IDs. Effective comments can show mask-limited rights. Optional ACL utility unavailable in local test environment.
Working Example
Example Snippetlinux
getfacl -c -- report.txt