Question 10
During a RHEL 10 maintenance window needs to set permissions for /srv/metrics10. The required owner/group/other modes are rwx/rwx/-wx. Which command sets exactly those bits?
Explanation
Correct Answer
Octal 773 sets owner, owning group and others to rwx/rwx/-wx respectively. Each octal digit is the sum of read=4, write=2 and execute/search=1, so the resulting mode exactly matches the three required classes.
Incorrect Answers
Mode 073 represents ---/rwx/-wx, whereas the requested mode is 773 (rwx/rwx/-wx). Specifically, owner gets --- instead of required rwx (incorrectly removes read, write, execute/search). Other classes must also remain as specified; this command changes the wrong rights.
Mode 703 represents rwx/---/-wx, whereas the requested mode is 773 (rwx/rwx/-wx). Specifically, owning group gets --- instead of required rwx (incorrectly removes read, write, execute/search). Other classes must also remain as specified; this command changes the wrong rights.
Mode 774 represents rwx/rwx/r--, whereas the requested mode is 773 (rwx/rwx/-wx). Specifically, other users get r-- instead of required -wx (incorrectly grants read; incorrectly removes write, execute/search). Other classes must also remain as specified; this command changes the wrong rights.






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