HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

getfacl — Get file access control lists (ACL). More information: <https://manned.org/getfacl>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandgetfaclaccessclifilecontrollistsget
linux

Problem

How to use the getfacl command: Get file access control lists (ACL). More information: <https://manned.org/getfacl>.

Solution

getfacl — Get file access control lists (ACL). More information: <https://manned.org/getfacl>.

Display the file access control list:
getfacl {{path/to/file_or_directory}}


Display the file access control list with numeric user and group IDs:
getfacl {{[-n|--numeric]}} {{path/to/file_or_directory}}


Display the file access control list with tabular output format:
getfacl {{[-t|--tabular]}} {{path/to/file_or_directory}}

Code Snippets

Display the file access control list

getfacl {{path/to/file_or_directory}}

Display the file access control list with numeric user and group IDs

getfacl {{[-n|--numeric]}} {{path/to/file_or_directory}}

Display the file access control list with tabular output format

getfacl {{[-t|--tabular]}} {{path/to/file_or_directory}}

Context

tldr-pages: linux/getfacl

Revisions (0)

No revisions yet.