Which of the following permissions are set on the /tmp/ directory?

Prepare for the LPI Linux Essentials 010-160 Test. Study with flashcards and multiple choice questions, each question offers hints and explanations. Get ready to ace your exam!

The permissions set on the /tmp/ directory are represented as rwxrwxrwt. This indicates that the owner has read, write, and execute permissions, the group has read, write, and execute permissions, and others also have read, write, and execute permissions.

The additional "t" at the end signifies the sticky bit is set on the /tmp/ directory. This feature provides a level of security for shared directories by ensuring that only the file's owner can delete or rename the files they have created within it. This is especially important in a directory like /tmp/, which is commonly used by multiple users for temporary file storage, preventing users from tampering with each other's files.

The other configurations do not exhibit the same characteristics needed for a shared temporary directory like /tmp/. For example, configurations that lack the sticky bit do not provide the additional security needed in a multi-user environment. Thus, rwxrwxrwt is the appropriate permission set for the /tmp/ directory to ensure it remains secure and efficient for all users.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy