Bird
0
0

Why does chmod 777 on a sensitive file pose a security risk?

hard📝 Conceptual Q10 of 15
Linux CLI - File Permissions and Ownership
Why does chmod 777 on a sensitive file pose a security risk?
AIt only allows the owner to access the file
BIt removes all permissions from the file
CIt allows anyone to read, write, and execute the file
DIt sets the file as hidden
Step-by-Step Solution
Solution:
  1. Step 1: Understand permission 777

    777 means read, write, and execute permissions for owner, group, and others.
  2. Step 2: Assess security implications

    Giving full permissions to everyone allows unauthorized access and modification.
  3. Final Answer:

    It allows anyone to read, write, and execute the file -> Option C
  4. Quick Check:

    777 = full access for all users, risky for sensitive files [OK]
Quick Trick: 777 means full access to everyone, avoid on sensitive files [OK]
Common Mistakes:
  • Thinking 777 restricts access
  • Confusing 777 with no permissions
  • Assuming it hides the file

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes