Linux Essentials (010-160) — Question 40
Which of the following permissions are set on the /tmp/ directory?
Answer options
- A. rwxrwxrwt
- B. ------rwX
- C. rwSrw-rw-
- D. rwxrwS---
- E. r-xr-X--t
Correct answer: A
Explanation
The correct option, A (rwxrwxrwt), indicates that the /tmp/ directory has read, write, and execute permissions for the owner, group, and others, along with the sticky bit. The other options do not represent the standard permissions for /tmp/ as they either lack the sticky bit or do not have the correct combination of permissions.