From the course: Ubuntu Linux: Storage Management

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Access control lists (ACLs)

Access control lists (ACLs)

From the course: Ubuntu Linux: Storage Management

Start my 1-month free trial

Access control lists (ACLs)

- [Instructor] Standard Linux permissions can be extended with ACLs or access control lists. ACLs let us specify access to a file for individual users and groups, outside of the regular owner, group, others approach. Say you had a user who needs read/write access to a file that's owned by a group that they're not part of. Since our user is not the owner of the file, or a member of the group that owns the file, and we don't want to open up read/write access to others, what can we do? With a file access control list, we can explicitly say that our user is granted permissions to the file. Let's take a look at this, at the command line. I'll create a file here with the touch command. I'll say touch a_file. And I can look at the permissions for this file with the getfacl command and the filename. I can see that the owner and group are listed here, as well as the user, group, and other permissions. My regular user wouldn't have access to change this file. I'll switch to that user with su…

Contents