LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

getfacl

file access control list viewer

TLDR

Show ACL
$ getfacl path/to/file
copy
Show with numeric IDs
$ getfacl -n path/to/file
copy
Tabular output
$ getfacl -t path/to/file
copy

SYNOPSIS

getfacl [OPTIONS] files...

DESCRIPTION

getfacl displays file access control lists (ACLs). ACLs provide more fine-grained access control than traditional Unix permissions, allowing permissions for specific users and groups beyond owner/group/other.

PARAMETERS

-n, --numeric

Display numeric user and group IDs
-t, --tabular
Use tabular output format
-a, --access
Display access ACL
-d, --default
Display default ACL
-R, --recursive
Recurse into directories
-p, --absolute-names
Don't strip leading slashes

INSTALL

sudo apt install acl
copy
sudo dnf install acl
copy
sudo pacman -S acl
copy
sudo apk add acl
copy
sudo zypper install acl
copy
brew install acl
copy
nix profile install nixpkgs#acl
copy

CAVEATS

ACLs must be supported by the filesystem (mount with acl option). The default ACL only applies to directories and affects newly created files within. Use setfacl to modify ACLs.

HISTORY

getfacl is part of the acl package, providing POSIX ACL support on Linux.

SEE ALSO

setfacl(1), chmod(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid