Systems Support Specialist Managing Linux File Permissions Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 12 | Questions: 20 | Updated: Aug 14, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. Which command changes file ownership in Linux?

Explanation

`chown` changes the owner of a file or directory in Linux. It can also change the group ownership when used with the appropriate syntax. `chmod` changes permissions, `chgrp` changes group ownership, and `chattr` modifies file attributes.

Submit
Please wait...
About This Quiz
Systems Support Specialist Managing Linux File Permissions Quiz - Quiz

This quiz evaluates your understanding of Linux file permissions, a critical skill for systems support specialists. You'll test your knowledge of permission modes, ownership, special bits, and practical scenarios involving file access control. Master these concepts to effectively manage system security and user access in Linux environments.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. Which command shows the umask value currently set?

Explanation

Running `umask` without any arguments displays the current file-creation permission mask in the shell. This value determines which permissions are withheld by default when new files and directories are created. The other listed commands are not standard commands for displaying the umask.

Submit

3. If umask is 0022, what default permissions will a new file have?

Explanation

A new file typically starts with default permissions of 666 (read and write for everyone). The umask 0022 removes write permission for the group and others, leaving permissions of 644: read/write for the owner and read-only for everyone else.

Submit

4. What is the default umask value for most systems?

Explanation

On many Unix-like systems, the default umask is 0022. It removes write permissions for group members and others when new files or directories are created. Applied to typical base permissions, this usually results in files being created with permissions 0644 and directories with permissions 0755.

Submit

5. Which command recursively changes permissions on directories and files?

Explanation

`chmod -R` applies a permission change recursively to the specified directory and everything inside it, including subdirectories and files. The uppercase `-R` option means recursive; `chown` changes ownership, while `chattr` changes file attributes.

Submit

6. Which command displays file permissions in long format?

Explanation

`ls -la` lists files and directories in long format. The `-l` option displays detailed information, including permissions, ownership, size, and modification time, while `-a` also includes hidden entries.

Submit

7. The permission string 'rw-r--r--' equals which octal value?

Explanation

In `rw-r--r--`, the owner has read and write permissions (`4 + 2 = 6`), while the group and others each have read permission only (`4`). Combining these digits gives the octal value `644`.

Submit

8. In symbolic notation, what does 'u+rwx' represent?

Explanation

In symbolic permission notation, `u` refers to the file’s user (owner), `+` adds permissions, and `rwx` means read, write, and execute. Thus, `u+rwx` grants the user all three permissions.

Submit

9. What does the setuid (set user ID) special permission allow?

Explanation

The setuid bit on an executable causes it to run with the effective user ID of the file’s owner, rather than the ID of the user who launched it. This lets the program perform authorized actions using the owner’s privileges.

Submit

10. What does the permission mode 755 represent in octal notation?

Explanation

In octal permissions, 7 represents read, write, and execute (4 + 2 + 1), while 5 represents read and execute (4 + 1). Thus, 755 gives the owner all three permissions and grants read and execute permissions to the group and others.

Submit

11. What does the sticky bit (1000) prevent in a shared directory?

Explanation

In a shared directory, the sticky bit restricts file deletion and renaming: users can remove or rename only files they own (or if they have elevated privileges), even when the directory is writable by others.

Submit

12. What does the setgid (set group ID) special permission do on a directory?

Explanation

The setgid bit on a directory causes newly created files and subdirectories to inherit the directory’s group ownership, rather than the creating user’s default group. This helps keep shared files organized under a consistent group.

Submit

13. To change a file to 'rw-rw-r--' permissions, use: chmod ____

Explanation

`chmod 664` sets the owner and group permissions to read and write (`6`), and others’ permissions to read only (`4`), producing `rw-rw-r--`.

Submit

14. Which numeric value in octal represents the setuid bit?

Explanation

In Unix-style file permissions, the special permission bits use the leading octal digit: 4 denotes setuid, 2 denotes setgid, and 1 denotes the sticky bit. Therefore, the setuid bit is represented by 4000 in octal.

Submit

15. A file with permissions '---s--s--t' has which special bits set?

Explanation

In a symbolic permission string, `s` in the user execute position indicates setuid, and `s` in the group execute position indicates setgid. The `t` in the others execute position indicates the sticky bit. Thus, all three special permission bits are set. The lowercase letters also show that the corresponding execute permissions are enabled.

Submit

16. Which of the following correctly removes write permission from group and others?

Explanation

In symbolic mode, `g` refers to the file’s group and `o` refers to others. The `-w` operation removes write permission, so `chmod go-w file` removes it from both groups while leaving the owner’s permissions unchanged.

Submit

17. The /etc/passwd file typically has which permissions?

Explanation

Permission 644 means the owner can read and write the file, while other users can only read it. This allows system programs and users to access account information stored in `/etc/passwd` without permitting unauthorized changes. Separate password hashes are typically kept in the more restricted `/etc/shadow` file.

Submit

18. To add execute permission for the owner only: chmod ____

Explanation

In `chmod`, `u` refers to the file’s owner, and `+x` adds execute permission. Thus, `chmod u+x` grants execute permission to the owner only.

Submit

19. A directory permission of 700 means only the owner can ____

Explanation

In Unix-like systems, permission 700 grants the directory’s owner read, write, and execute permissions, while granting no permissions to the group or other users. Thus, only the owner can access it.

Submit

20. To set a file as executable by all users: chmod ____

Explanation

`chmod a+x` adds execute permission for all users: the file’s owner, group, and others. The `a` means “all,” and `+x` adds the execute permission without changing the file’s other permissions.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Which command changes file ownership in Linux?
Which command shows the umask value currently set?
If umask is 0022, what default permissions will a new file have?
What is the default umask value for most systems?
Which command recursively changes permissions on directories and...
Which command displays file permissions in long format?
The permission string 'rw-r--r--' equals which octal value?
In symbolic notation, what does 'u+rwx' represent?
What does the setuid (set user ID) special permission allow?
What does the permission mode 755 represent in octal notation?
What does the sticky bit (1000) prevent in a shared directory?
What does the setgid (set group ID) special permission do on a...
To change a file to 'rw-rw-r--' permissions, use: chmod ____
Which numeric value in octal represents the setuid bit?
A file with permissions '---s--s--t' has which special bits set?
Which of the following correctly removes write permission from group...
The /etc/passwd file typically has which permissions?
To add execute permission for the owner only: chmod ____
A directory permission of 700 means only the owner can ____
To set a file as executable by all users: chmod ____
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!