Question: cd to the root directory. Execute the following command: ls -ld /tmp You will notice that the permissions on the /tmp directory contain the sticky

cd to the root directory. Execute the following command:

ls -ld /tmp

You will notice that the permissions on the/tmpdirectory contain the sticky bit. (The permissions end with at)

A. What is the significance of the sticky bit being set on adirectory?

(Hint: executeman -s2 chmodfor more info on the sticky bit)

The sticky bit prevents a file from being deleted....forever.

A file can only be deleted or modifed by the user if owned by the user or can be deleted or modified by a privileged user.

The sticky bit prevents a file from being copied.

The sticky bit makes the file an executable file.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!