From the course: Linux: Storage Systems

Unlock the full course today

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

Manage file system access control lists

Manage file system access control lists - Linux Tutorial

From the course: Linux: Storage Systems

Start my 1-month free trial

Manage file system access control lists

- [Instructor] Access control lists are another mechanism for permission on files and directories. It's finer control than the usual owner group other rwx stuff, because you can give access to, for example, individual users. That's different than other. So the file system needs to support this. And when you mount the file system, you can have the option to have it enforce the ACLs. This is pretty common, and even NFS supports ACLs. So when you have an ACL set for a user on a file, that's what they get, not the other sort of permission. So there are access ACLs for a specific file or directory that says, for example, this user is given this permission. An ACL on a directory that's default, means that things in that directory will inherit that ACL automatically. And so you can set per user, per group or you can set a mask, which will limit the ACLs that can be sent. To find out what the ACLs are on something, use getfacl. Getfacl. So here we did it on some file newdate.txt. And it has…

Contents