From the course: LPI Linux Essentials (010-160) Cert Prep
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Using sticky bits - Linux Tutorial
From the course: LPI Linux Essentials (010-160) Cert Prep
Using sticky bits
- When investigating the Linux directory tree, there are going to be certain file type that are going to require special attention from you. Sometimes, a user may just want to be aware that these special files exist and how they're handled, because they're going to deviate from what is expected based on what has been previously covered in the other videos we've talked about. For example, a user could delete a file without having write permission to it. Now, this may seem like a bug after all, because if a user can't write to a file, we may think they shouldn't be able to delete that file either. But, you have to remember that directories are a special type of file, one that holds other files' names and pointers to their lower level data structure. Therefore, modifying a file requires write access to the file, but to create or delete a file, only requires write access to the directory in which the file's going to reside.…
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)
Setting ownership4m 25s
-
(Locked)
Setting ownership demonstration4m 6s
-
(Locked)
Understanding permissions4m 9s
-
(Locked)
Permission strings and setting the umask6m 25s
-
(Locked)
Using sticky bits2m 44s
-
(Locked)
Using special execute permissions3m 41s
-
(Locked)
Hiding files and directories2m 24s
-
(Locked)
Setting permissions7m 9s
-
(Locked)
-