PrepAway - Latest Free Exam Questions & Answers

Which set of permissions are associated with this file?

Your current umask value is 022. You create a regular file.
Which set of permissions are associated with this file?

PrepAway - Latest Free Exam Questions & Answers

A.
rw-r–r–

B.
rwxr–r–

C.
—-w–w-

D.
rw-rw-rw-

E.
rwxrwxrwx

Explanation:

The default umask permissions for a file are 666 and for a directory 777.
Take 022 away from 666 leaves 644, which is answer A.


Leave a Reply