LPI Exam Questions

What umask will set the file permissions on a newly created file to -rw-r–r– (644)?

What umask will set the file permissions on a newly created file to -rw-r–r– (644)?

A.
0002

B.
0022

C.
0224

D.
0246

Explanation/Reference:
The trick is to know that umask on a file excludes execute-priviliges per default, so to remove the write-privilige on a file use 022.