PdfPrep.com

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+s sales
B . setpol CR newgroup=sales sales
C . chgrp Cp sales sales
D . chown –persistent *.sales sales
E . chmod 2775 sales

Answer: C,E

Exit mobile version