Bird
0
0

Given a directory /tmp/shared with permissions drwxrwxrwt, what does the t at the end signify?

medium📝 Command Output Q13 of 15
Linux CLI - File Permissions and Ownership
Given a directory /tmp/shared with permissions drwxrwxrwt, what does the t at the end signify?
ASetuid bit is set
BSticky bit is set
CSetgid bit is set
DNo special permissions set
Step-by-Step Solution
Solution:
  1. Step 1: Interpret permission string ending with 't'

    The 't' at the end of directory permissions indicates the sticky bit is set.
  2. Step 2: Match 't' with sticky bit meaning

    The sticky bit prevents users from deleting files they don't own in that directory.
  3. Final Answer:

    Sticky bit is set -> Option B
  4. Quick Check:

    't' at end = sticky bit [OK]
Quick Trick: 't' at end of permissions means sticky bit set [OK]
Common Mistakes:
MISTAKES
  • Confusing 't' with setuid or setgid
  • Thinking 't' means no special permission
  • Misreading permissions string

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes