Bird
0
0

What does the chmod 755 filename command do in Linux?

easy📝 Conceptual Q11 of 15
Linux CLI - File Permissions and Ownership
What does the chmod 755 filename command do in Linux?
ARemoves all permissions from everyone
BSets read and write for owner; execute for group and others
CSets read, write, execute for owner; read and execute for group and others
DOnly changes the file owner
Step-by-Step Solution
Solution:
  1. Step 1: Understand numeric permission 755

    The digits 7, 5, 5 represent permissions for owner, group, and others respectively. 7 means read(4)+write(2)+execute(1)=7, 5 means read(4)+execute(1)=5.
  2. Step 2: Apply permissions to file

    Owner gets full permissions (rwx), group and others get read and execute (r-x). This matches the description in Sets read, write, execute for owner; read and execute for group and others.
  3. Final Answer:

    Sets read, write, execute for owner; read and execute for group and others -> Option C
  4. Quick Check:

    chmod 755 = rwxr-xr-x [OK]
Quick Trick: Remember 7=rwx, 5=rx, 6=rw [OK]
Common Mistakes:
  • Confusing numeric codes with letters
  • Thinking 755 removes permissions
  • Assuming chmod changes ownership

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes