Bird
0
0

Which special permission allows an executable file to run with the file owner's privileges regardless of who runs it?

easy📝 Conceptual Q2 of 15
Linux CLI - File Permissions and Ownership
Which special permission allows an executable file to run with the file owner's privileges regardless of who runs it?
ASticky bit
BSetuid
CSetgid
DNone of the above
Step-by-Step Solution
Solution:
  1. Step 1: Recall setuid function

    Setuid allows an executable to run with the file owner's permissions, not the user's.
  2. Step 2: Compare with other options

    Setgid affects group permissions, sticky bit affects deletion rights, so only setuid fits.
  3. Final Answer:

    Setuid -> Option B
  4. Quick Check:

    Setuid = runs as file owner [OK]
Quick Trick: Setuid runs program as file owner, not user [OK]
Common Mistakes:
MISTAKES
  • Mixing setuid with setgid
  • Thinking sticky bit controls execution
  • Choosing 'None of the above' incorrectly

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes