GO KALI FREE
Permission Commands

getfacl Linux Command

Displays the Access Control List (ACL) of a file or directory.

What does getfacl do?

Displays the Access Control List (ACL) of a file or directory.

Syntax

getfacl filename

Practical example

getfacl file.txt

Related Permission Commands

umask

Sets the default permission mask for newly created files and directories.

setfacl

Sets or modifies the Access Control List (ACL) for a file or directory.

chgrp

Changes the group ownership of a file or directory.

sudo -l

Lists the allowed and forbidden sudo commands for the current user.

chown

Changes the owner and/or group of a file or directory.

visudo

Safely edits the /etc/sudoers file to configure sudo permissions.