Recall & Review
beginner
What does the permission notation
rwxr-xr-- mean?It means the owner can read, write, and execute; the group can read and execute; others can only read.
Click to reveal answer
beginner
What does each letter in
rwxrwxrwx represent?- r: read permission
- w: write permission
- x: execute permission
Click to reveal answer
beginner
How many permission sets are shown in
rwxrwxrwx and who do they belong to?There are three sets: owner (first 3 letters), group (middle 3 letters), and others (last 3 letters).
Click to reveal answer
beginner
What does a dash
- mean in permission notation like rw-r--r--?A dash means that the permission is not granted. For example,
- in place of x means no execute permission.Click to reveal answer
intermediate
How can you change file permissions using symbolic notation in Linux?
Use the
chmod command with symbols like u (owner), g (group), o (others), and +, -, = to add, remove, or set permissions.Click to reveal answer
In
rwxr-xr--, what permission does the group have?✗ Incorrect
The group has
r-x which means read and execute permissions.What does the
x permission allow a user to do?✗ Incorrect
The execute permission allows running a file as a program or entering a directory.
If a file has permissions
rw-r--r--, who can write to it?✗ Incorrect
Only the owner has write permission indicated by
w in the first set.What does the first character in a long permission string like
-rwxr-xr-x indicate?✗ Incorrect
The first character shows the file type:
- for file, d for directory.Which command changes permissions using numeric notation?
✗ Incorrect
chmod 755 filename sets permissions using numeric notation.Explain the meaning of the permission string
rwxr-xr-- in simple terms.Break it down into three groups of three letters.
You got /4 concepts.
Describe how you would change a file to allow only the owner to write, but everyone to read and execute.
Think about symbolic or numeric notation for permissions.
You got /4 concepts.