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

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-----.