Which umask value ensures that new directories can be read, written and listed by their owning user, read and listed by their owning group and are not accessible at all for everyone else?
A. 0750
B. 0027
C. 0036
D. 7640
E. 0029
Which umask value ensures that new directories can be read, written and listed by their owning user, read and listed by their owning group and are not accessible at all for everyone else?
A. 0750
B. 0027
C. 0036
D. 7640
E. 0029
B make no Sense.
If we are not dealing with setuid setgid and stick bit then begging is 0
read, written and listed by their owning user That means 7
read and listed by their owning group which i take listed as execute, and not written. That means 5
“are not accessible at all for everyone else” that is 0
So anwser should be 0750
umask is the number of bits removed from each group (user, group, other).
So:
0 bits removed from setuid/setgid
0 bits removed from user (retains rwx)
2 bits removed from group (retains r-x)
7 bits removed from other (retains —)