CompTIA Linux+ Powered by LPI (LX0-103) — Question 24
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. 0027
Correct answer: D
Explanation
The umask value of 0027 subtracts permissions from the default of 666 for files, resulting in 640, which translates to -rw-r----- when expressed in symbolic notation. The other options either do not yield the correct permissions or are not valid umask values for achieving -rw-r-----.