Linux · Permissions interview questions

57 real Linux · Permissions questions from the System Administration bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What does chmod 644 do?

Junior
  1. A.add execute permission for all on a file
  2. B.set a mask producing private (700/600) new files
  3. C.set permissions to rw-r--r-- (owner read/write, others read)
  4. D.grant user alice read/write via a POSIX ACL
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.chmod 644 — display the POSIX ACL of a file
  2. B.chmod 644 — set permissions to rw-r--r-- (owner read/write, others read)
  3. C.chmod 644 — change the owner and group of a file
  4. 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
  1. A.grant user alice read/write via a POSIX ACL
  2. B.set a mask producing private (700/600) new files
  3. C.set permissions to rwxr-xr-x (owner all, others read/execute)
  4. D.set permissions to rw------- (owner read/write only)
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.chmod 755 — set a mask producing private (700/600) new files
  2. B.chmod 755 — change the owner and group of a file
  3. C.chmod 755 — grant user alice read/write via a POSIX ACL
  4. 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
  1. A.set permissions to rw------- (owner read/write only)
  2. B.set SGID so new files inherit the directory's group
  3. C.set permissions to rwxr-xr-x (owner all, others read/execute)
  4. D.add execute permission for all on a file
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Junior
  1. A.chmod 600 — set permissions to rw-r--r-- (owner read/write, others read)
  2. B.chmod 600 — grant user alice read/write via a POSIX ACL
  3. C.chmod 600 — set permissions to rw------- (owner read/write only)
  4. 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
  1. A.display a user's password-aging information
  2. B.change the owner and group of a file
  3. C.display the POSIX ACL of a file
  4. D.set permissions to rw-r--r-- (owner read/write, others read)
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Junior
  1. A.chown user:group file — change the owner and group of a file
  2. B.chown user:group file — display the POSIX ACL of a file
  3. C.chown user:group file — grant user alice read/write via a POSIX ACL
  4. 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
  1. A.set permissions to rw------- (owner read/write only)
  2. B.grant user alice read/write via a POSIX ACL
  3. C.add execute permission for all on a file
  4. D.display the POSIX ACL of a file
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Mid
  1. A.setfacl -m u:alice:rw file — grant user alice read/write via a POSIX ACL
  2. B.setfacl -m u:alice:rw file — set permissions to rwxr-xr-x (owner all, others read/execute)
  3. C.setfacl -m u:alice:rw file — add execute permission for all on a file
  4. 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
  1. A.add execute permission for all on a file
  2. B.set permissions to rw-r--r-- (owner read/write, others read)
  3. C.display a user's password-aging information
  4. D.set permissions to rwx------ (owner only)
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Mid
  1. A.chage -l user — set permissions to rw------- (owner read/write only)
  2. B.chage -l user — change the owner and group of a file
  3. C.chage -l user — set permissions to rwxr-xr-x (owner all, others read/execute)
  4. D.chage -l user — display a user's password-aging information
Reveal the answer + AI explanation — free account

19. What is /etc/passwd?

Junior
  1. A.permissions rwxrwxrwx — full access for everyone (risky)
  2. B.a permission so only a file's owner (not others) can delete it
  3. C.the file storing user account entries (name, UID, shell, home)
  4. D.a mask producing new files as 644 and new directories as 755
Reveal the answer + AI explanation — free account

21. Which statement is correct?

Junior
  1. A./etc/passwd — a permission that runs an executable with the file owner's privileges
  2. B./etc/passwd — the file storing user account entries (name, UID, shell, home)
  3. C./etc/passwd — a mask producing new files as 644 and new directories as 755
  4. 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
  1. A.the file storing hashed user passwords and aging data
  2. B.a permission that runs an executable with the file group's privileges
  3. C.permissions rwxrwxrwx — full access for everyone (risky)
  4. D.the file storing user account entries (name, UID, shell, home)
Reveal the answer + AI explanation — free account

24. Which statement is correct?

Junior
  1. A./etc/shadow — a permission so only a file's owner (not others) can delete it
  2. B./etc/shadow — the file storing user account entries (name, UID, shell, home)
  3. C./etc/shadow — permissions rwxrwxrwx — full access for everyone (risky)
  4. 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
  1. A.a permission that runs an executable with the file owner's privileges
  2. B.permissions rwxrwxrwx — full access for everyone (risky)
  3. C.a mask producing new files as 644 and new directories as 755
  4. D.fine-grained root powers granted to a binary instead of full SUID
Reveal the answer + AI explanation — free account

27. Which statement is correct?

Mid
  1. A.SUID bit — a mask producing new files as 644 and new directories as 755
  2. B.SUID bit — a permission that runs an executable with the file owner's privileges
  3. C.SUID bit — the file storing user account entries (name, UID, shell, home)
  4. 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
  1. A.a mask producing new files as 644 and new directories as 755
  2. B.a permission so only a file's owner (not others) can delete it
  3. C.a permission that runs an executable with the file owner's privileges
  4. D.the file storing user account entries (name, UID, shell, home)
Reveal the answer + AI explanation — free account

30. Which statement is correct?

Mid
  1. A.sticky bit on /tmp — a permission so only a file's owner (not others) can delete it
  2. B.sticky bit on /tmp — fine-grained root powers granted to a binary instead of full SUID
  3. C.sticky bit on /tmp — a permission that runs an executable with the file group's privileges
  4. D.sticky bit on /tmp — a permission that runs an executable with the file owner's privileges
Reveal the answer + AI explanation — free account

Showing 30 of 57 Linux · Permissions questions — the full set, with answers, explanations and an AI tutor on every question, is inside.

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Linux · Permissions free