Question 70
An administrator creates directory /srv/project-25 while the shell umask is 022. Without default ACLs or later changes, what is the directory permission mode?
Explanation
Correct Answer
A new directory normally requests rwx/rwx/rwx (0777); removing the bits in umask 022 yields 755, or rwx/r-x/r-x. In particular directory x permits name lookup/traversal, and the mask removes rather than grants bits.
Incorrect Answers
Applying umask 022 to a new directory gives 755, not 754; other users get r-- instead of required r-x (incorrectly removes execute/search). Such a deviation changes who may search, read, or write the directory, contrary to the creation policy.
Applying umask 022 to a new directory gives 755, not 745; owning group gets r-- instead of required r-x (incorrectly removes execute/search). Such a deviation changes who may search, read, or write the directory, contrary to the creation policy.
Applying umask 022 to a new directory gives 755, not 655; owner gets rw- instead of required rwx (incorrectly removes execute/search). Such a deviation changes who may search, read, or write the directory, contrary to the creation policy.






Red Hat Certified System Administrator (RHCSA) (EX200) Practice Tests