LPIC-1 Exam 101 v5 (Linux Administrator) — Question 27
Which umask value ensures that new directories can be read, written and listed by their owning user, read and listed by their owning group and are not accessible at all for everyone else?
Answer options
- A. 0750
- B. 0027
- C. 0036
- D. 7640
- E. 0029
Correct answer: B
Explanation
The umask value of 0027 removes write permissions for others while allowing the owner full access and the group read and execute permissions. Options A (0750) and C (0036) do not set the correct permissions for the group or others, while D (7640) and E (0029) do not match the required access levels at all.