LPI
101-500 · Question #398
What effect does the sticky bit have when set on a directory?
The correct answer is C. It restricts deletion of files in this directory to only the root user and the file owner regardless of. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Devices, Linux Filesystems, Filesystem Hierarchy Standard
Question
What effect does the sticky bit have when set on a directory?
Options
- AThere is no effect because the sticky bit has been deprecated in Linux.
- BIt provides a hint to the kernel that files in this directory should be cached in memory, if possible.
- CIt restricts deletion of files in this directory to only the root user and the file owner regardless of
- DIt instructs the kernel to keep the underlying data for the files in the directory intact to allow for
How the community answered
(61 responses)- A5% (3)
- B2% (1)
- C92% (56)
- D2% (1)
Explanation
You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Topics
#sticky bit#file permissions#directory permissions#file deletion
Community Discussion
No community discussion yet for this question.