LPIC-1 Exam 101 v5 (Linux Administrator) — Question 20
Which of the following settings for umask ensures that new files have the default permissions -rw-r-----?
Answer options
- A. 0017
- B. 0640
- C. 0038
- D. 0227
- E. 0027
Correct answer: E
Explanation
The umask value of 0027 subtracts write permissions for group and others from the default file permissions of 666, resulting in permissions of 640 (-rw-r-----). Other options either do not yield the correct permissions or do not appropriately restrict access for the group and others.