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 - Linux Tutorial
From the course: Linux: Storage Systems
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Restore default SELinux file contexts7m 55s
-
(Locked)
Configure encrypted partitions4m 58s
-
(Locked)
Manage file system access control lists6m 46s
-
(Locked)
File permission problems6m 59s
-
Using SUID, attributes, and read-only7m 49s
-
(Locked)
User and group disk quotas7m 18s
-
(Locked)
Challenge: SELinux, LUKS, ACLs, and quotas1m 59s
-
(Locked)
Solution: SELinux, LUKS, ACLs, and quotas7m 42s
-
(Locked)
-
-
-