Session ID: 138
Mode: objective
Status: in_progress
Score: 0%
Filter: All | Incorrect | Flagged | Unanswered
Current filter: All
In file permissions, what is the octal value of read permission?
Status: Unanswered
Your Answer:
Options:
Explanation:
Read permission (r) has an octal value of 4 [1].
For a directory, what does execute (x) permission allow?
Status: Unanswered
Your Answer:
Options:
Explanation:
On directories, execute permission means permission to enter the directory, though not necessarily list its files [1].
Who can write to the device file 'brw-rw---- 1 root disk ... /dev/sdb1'?
Status: Unanswered
Your Answer:
Options:
Explanation:
The lesson answer states that the owner (root) and any users of the group disk can write to /dev/sdb1 [1].
For a directory, what does write (w) permission allow when combined with execute?
Status: Unanswered
Your Answer:
Options:
Explanation:
On directories, write permission means permission to create or delete files, but execute permission is also needed to make those changes [1].
Which command sets both SGID on a directory and the sticky bit for others in one command, as shown in the lesson?
Status: Unanswered
Your Answer:
Options:
Explanation:
The lesson explicitly gives chmod g+wxs,o+t Box/ as the one-command solution [1].
In file permissions, what is the octal value of write permission?
Status: Unanswered
Your Answer:
Options:
Explanation:
Write permission (w) has an octal value of 2 [1].
What would the default permissions for a regular file be if umask is set to 027?
Status: Unanswered
Your Answer:
Options:
Explanation:
For regular files, the default base mode is typically 666. Applying umask 027 results in 640. This exact answer is implied by standard Linux umask behavior and referenced by the lesson’s guided exercise on umask [1].
For a directory, what does read (r) permission allow?
Status: Unanswered
Your Answer:
Options:
Explanation:
On directories, read permission means permission to read the directory contents, like filenames [1].
Enter the command that adds SGID to the directory Box and also sets the sticky bit for others in the same command.
Status: Unanswered
Your Answer:
Accepted Answer(s):
chmod g+wxs,o+t Box/
Explanation:
The lesson explicitly provides chmod g+wxs,o+t Box/ as the combined command [1].
In the output 'brw-rw---- 1 root disk ... /dev/sdb1', what type of file is /dev/sdb1?
Status: Unanswered
Your Answer:
Options:
Explanation:
The lesson explains that the first character b indicates a block device, usually a disk [1].