1. What does chmod 644 do? Junior A. add execute permission for all on a file B. set a mask producing private (700/600) new files C. set permissions to rw-r--r-- (owner read/write, others read) D. grant user alice read/write via a POSIX ACL Reveal the answer + AI explanation — free account
2. Which command will set permissions to rw-r--r-- (owner read/write, others read)? Junior A. umask 077 B. setfacl -m u:alice:rw file C. chmod 644 D. getfacl file Reveal the answer + AI explanation — free account
3. Which statement is correct? Junior A. chmod 644 — display the POSIX ACL of a file B. chmod 644 — set permissions to rw-r--r-- (owner read/write, others read) C. chmod 644 — change the owner and group of a file D. chmod 644 — grant user alice read/write via a POSIX ACL Reveal the answer + AI explanation — free account
4. What does chmod 755 do? Junior A. grant user alice read/write via a POSIX ACL B. set a mask producing private (700/600) new files C. set permissions to rwxr-xr-x (owner all, others read/execute) D. set permissions to rw------- (owner read/write only) Reveal the answer + AI explanation — free account
5. Which command will set permissions to rwxr-xr-x (owner all, others read/execute)? Junior A. setfacl -m u:alice:rw file B. chown user:group file C. chmod 755 D. chmod g+s dir Reveal the answer + AI explanation — free account
6. Which statement is correct? Junior A. chmod 755 — set a mask producing private (700/600) new files B. chmod 755 — change the owner and group of a file C. chmod 755 — grant user alice read/write via a POSIX ACL D. chmod 755 — set permissions to rwxr-xr-x (owner all, others read/execute) Reveal the answer + AI explanation — free account
7. What does chmod 600 do? Junior A. set permissions to rw------- (owner read/write only) B. set SGID so new files inherit the directory's group C. set permissions to rwxr-xr-x (owner all, others read/execute) D. add execute permission for all on a file Reveal the answer + AI explanation — free account
8. Which command will set permissions to rw------- (owner read/write only)? Junior A. chmod 600 B. chmod 755 C. chmod 700 dir D. chown user:group file Reveal the answer + AI explanation — free account
9. Which statement is correct? Junior A. chmod 600 — set permissions to rw-r--r-- (owner read/write, others read) B. chmod 600 — grant user alice read/write via a POSIX ACL C. chmod 600 — set permissions to rw------- (owner read/write only) D. chmod 600 — set permissions to rwxr-xr-x (owner all, others read/execute) Reveal the answer + AI explanation — free account
10. What does chown user:group file do? Junior A. display a user's password-aging information B. change the owner and group of a file C. display the POSIX ACL of a file D. set permissions to rw-r--r-- (owner read/write, others read) Reveal the answer + AI explanation — free account
11. Which command will change the owner and group of a file? Junior A. getfacl file B. umask 077 C. chmod g+s dir D. chown user:group file Reveal the answer + AI explanation — free account
12. Which statement is correct? Junior A. chown user:group file — change the owner and group of a file B. chown user:group file — display the POSIX ACL of a file C. chown user:group file — grant user alice read/write via a POSIX ACL D. chown user:group file — display a user's password-aging information Reveal the answer + AI explanation — free account
13. What does setfacl -m u:alice:rw file do? Mid A. set permissions to rw------- (owner read/write only) B. grant user alice read/write via a POSIX ACL C. add execute permission for all on a file D. display the POSIX ACL of a file Reveal the answer + AI explanation — free account
14. Which command will grant user alice read/write via a POSIX ACL? Mid A. chmod 600 B. chmod +x file C. setfacl -m u:alice:rw file D. chmod 644 Reveal the answer + AI explanation — free account
15. Which statement is correct? Mid A. setfacl -m u:alice:rw file — grant user alice read/write via a POSIX ACL B. setfacl -m u:alice:rw file — set permissions to rwxr-xr-x (owner all, others read/execute) C. setfacl -m u:alice:rw file — add execute permission for all on a file D. setfacl -m u:alice:rw file — set permissions to rw------- (owner read/write only) Reveal the answer + AI explanation — free account
16. What does chage -l user do? Mid A. add execute permission for all on a file B. set permissions to rw-r--r-- (owner read/write, others read) C. display a user's password-aging information D. set permissions to rwx------ (owner only) Reveal the answer + AI explanation — free account
17. Which command will display a user's password-aging information? Mid A. chmod 644 B. chage -l user C. getfacl file D. chmod 600 Reveal the answer + AI explanation — free account
18. Which statement is correct? Mid A. chage -l user — set permissions to rw------- (owner read/write only) B. chage -l user — change the owner and group of a file C. chage -l user — set permissions to rwxr-xr-x (owner all, others read/execute) D. chage -l user — display a user's password-aging information Reveal the answer + AI explanation — free account
19. What is /etc/passwd ? Junior A. permissions rwxrwxrwx — full access for everyone (risky) B. a permission so only a file's owner (not others) can delete it C. the file storing user account entries (name, UID, shell, home) D. a mask producing new files as 644 and new directories as 755 Reveal the answer + AI explanation — free account
20. Which term means: "the file storing user account entries (name, UID, shell, home)"? Junior A. SGID bit B. capabilities (setcap) C. /etc/passwd D. SUID bit Reveal the answer + AI explanation — free account
21. Which statement is correct? Junior A. /etc/passwd — a permission that runs an executable with the file owner's privileges B. /etc/passwd — the file storing user account entries (name, UID, shell, home) C. /etc/passwd — a mask producing new files as 644 and new directories as 755 D. /etc/passwd — the file storing hashed user passwords and aging data Reveal the answer + AI explanation — free account
22. What is /etc/shadow ? Junior A. the file storing hashed user passwords and aging data B. a permission that runs an executable with the file group's privileges C. permissions rwxrwxrwx — full access for everyone (risky) D. the file storing user account entries (name, UID, shell, home) Reveal the answer + AI explanation — free account
23. Which term means: "the file storing hashed user passwords and aging data"? Junior A. /etc/passwd B. SUID bit C. /etc/shadow D. chmod 777 Reveal the answer + AI explanation — free account
24. Which statement is correct? Junior A. /etc/shadow — a permission so only a file's owner (not others) can delete it B. /etc/shadow — the file storing user account entries (name, UID, shell, home) C. /etc/shadow — permissions rwxrwxrwx — full access for everyone (risky) D. /etc/shadow — the file storing hashed user passwords and aging data Reveal the answer + AI explanation — free account
25. What is SUID bit ? Mid A. a permission that runs an executable with the file owner's privileges B. permissions rwxrwxrwx — full access for everyone (risky) C. a mask producing new files as 644 and new directories as 755 D. fine-grained root powers granted to a binary instead of full SUID Reveal the answer + AI explanation — free account
26. Which term means: "a permission that runs an executable with the file owner's privileges"? Mid A. /etc/shadow B. SUID bit C. /etc/passwd D. capabilities (setcap) Reveal the answer + AI explanation — free account
27. Which statement is correct? Mid A. SUID bit — a mask producing new files as 644 and new directories as 755 B. SUID bit — a permission that runs an executable with the file owner's privileges C. SUID bit — the file storing user account entries (name, UID, shell, home) D. SUID bit — a permission that runs an executable with the file group's privileges Reveal the answer + AI explanation — free account
28. What is sticky bit on /tmp ? Mid A. a mask producing new files as 644 and new directories as 755 B. a permission so only a file's owner (not others) can delete it C. a permission that runs an executable with the file owner's privileges D. the file storing user account entries (name, UID, shell, home) Reveal the answer + AI explanation — free account
29. Which term means: "a permission so only a file's owner (not others) can delete it"? Mid A. /etc/passwd B. sticky bit on /tmp C. /etc/shadow D. chmod 777 Reveal the answer + AI explanation — free account
30. Which statement is correct? Mid A. sticky bit on /tmp — a permission so only a file's owner (not others) can delete it B. sticky bit on /tmp — fine-grained root powers granted to a binary instead of full SUID C. sticky bit on /tmp — a permission that runs an executable with the file group's privileges D. sticky bit on /tmp — a permission that runs an executable with the file owner's privileges Reveal the answer + AI explanation — free accountShowing 30 of 57 Linux · Permissions questions — the full set, with answers, explanations and an AI tutor on every question, is inside.