From the course: Linux: Files and Permissions

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Setting ACLs

Setting ACLs

- [Instructor] Different distributions have different levels of support for ACLs. If you're using a different system, you may want to ensure ACL support is installed and active. To do so you'd mount the file system with the ACL option, and older versions of enterprise Linux, ACLs were turned on automatically for the root partition but not for additional drives. ACLs are installed and turned on fully by default in Enterprise Linux 8, however, they may not be in other distributions. I very much recommend adopting ACLs for your Linux systems. In comparison to being creative with standard permissions along with special bits and custom UMass to solve your problems, ACLs are downright easy to implement. With ACLs you just give the right people in groups the access they need, and you're done. The command we use to assign file ACLs is setfacl. The syntax is setfaclt -m for modify, user: to specify the user, and then the username:…

Contents