Recall & Review
beginner
What does the numeric permission mode 755 mean in Linux?
755 means the owner has read, write, and execute permissions (7), while the group and others have read and execute permissions (5 each).
Click to reveal answer
beginner
Explain the numeric permission mode 644 in Linux.
644 means the owner has read and write permissions (6), while the group and others have only read permissions (4 each).
Click to reveal answer
beginner
How do you calculate the numeric permission for read, write, and execute?
Read = 4, Write = 2, Execute = 1. Add the values for each permission you want to set.
Click to reveal answer
beginner
What command changes a file's permission to 755?
Use the command chmod 755 filename to set the file's permissions to 755.
Click to reveal answer
beginner
Why would you use 644 permission mode for a file?
Because it allows the owner to edit the file, but others can only read it, which is common for configuration or text files.
Click to reveal answer
What does the '7' in permission mode 755 represent?
✗ Incorrect
7 means read (4) + write (2) + execute (1) permissions combined.
Which numeric permission mode allows the owner to read and write, but others only to read?
✗ Incorrect
644 means owner can read/write (6), others can only read (4).
What command sets a file's permission to 644?
✗ Incorrect
chmod 644 filename sets owner read/write and others read only.
If a file has permission 755, what can the group do?
✗ Incorrect
5 means read (4) + execute (1) permissions for group.
What numeric value represents write permission alone?
✗ Incorrect
Write permission is represented by 2.
Describe how to interpret the numeric permission mode 755 in Linux.
Think about what each digit means for owner, group, and others.
You got /4 concepts.
Explain why 644 is a common permission mode for files.
Consider who needs to change the file and who only needs to see it.
You got /4 concepts.