Which command ensures new files created within the directory sales are owned by the group sales?

Consider the following directory: drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales
Which command ensures new files created within the directory sales are owned by the group sales? (Choose two.)
A. chmod g+ssales
B. setpol -R newgroup=sales sales
C. chgrp -p sales sales
D. chown –persistent *.sales sales
E. chmod 2775 sales

Download Printable PDF. VALID exam to help you PASS.

3 thoughts on “Which command ensures new files created within the directory sales are owned by the group sales?

  1. The correct syntax for a is chmod g+s sales but there is no “s” symbolic reference.
    chmod 2775 sales make sense
    but chgrp doesnt have option -p but it does have -P key sensitive. So this question is confusing.

    I would say then C and E are correct under these corrections.

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