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.
File permission problems - Linux Tutorial
From the course: Linux: Storage Systems
File permission problems
- [Instructor] Let's look a little more closely at file permission problems. What can prevent you from getting access? So first of all remember there's the ordinary permission modes that change mods for stuff. We'll we've got owner group other with RWX, but there's three other special permissions, the set UID, the set group ID, and the sticky bit. So something in there could be causing a problem. There's ACLs like we just looked at. They could be preventing you from having permission. Extended attributes, which are kind of mysterious and they can prevent access. Now remember that only owner and root can change permissions and maybe only root can set some of these special features. Also the way a file system is mounted can prevent certain capabilities. And then things like SELinux use special additional kernel security features that can prevent access, so maybe it's SELinux that's preventing permission. In general the error messages are something that you're going to have to try to…
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)
-
-
-