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?

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

Download Printable PDF. VALID exam to help you PASS.

2 thoughts on “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?

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

    5
    8
    1. 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 —)

      7
      1

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.