June 2018
Beginner
234 pages
5h 36m
English
sticky bit only has an effect on directories and not on files. If sticky bit is set on a folder, only the owner of a specific file, folder, or subfolder created in that directory is allowed to delete it. There are some special cases where this is useful, for example, in the /tmp directory, where anybody should be allowed to see anything, but quite often processes create and rely on data stored in that folder, so it would be very bad if someone other than the creator of the process could be able to delete files from other users.
So let's test this out:

As you can see, sticky bit has been set on the /tmp directory, so let's create ...
Read now
Unlock full access