How To Install Setfacl On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian?
Install setfacl
-
Debian
apt-get install aclClick to copy -
Ubuntu
apt-get install aclClick to copy -
Alpine OS
apk add aclClick to copy -
Arch Linux
pacman -S aclClick to copy -
Kali Linux
apt-get install aclClick to copy -
CentOS
yum install aclClick to copy -
Fedora
dnf install aclClick to copy -
Raspbian
apt-get install aclClick to copy
Set file access control lists (ACL).
How to use setfacl?
Below are few example commands for setfacl that you can use in the terminal.
Modify ACL of a file for user with read and write access:setfacl -m u:username:rw fileClick to copyModify default ACL of a file for all users:setfacl -d -m u::rw fileClick to copyRemove ACL of a file for an user:setfacl -x u:username fileClick to copyRemove all ACL entries of a file:setfacl -b fileClick to copy
Installing setfacl command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora and Raspbian operating systems. Once you run the command it will install the latest version of setfacl 2026 package in your OS.




