101-500 question 208 discussion

View all LPIC-1 System Administrator Exam 101, Part 1 of 2, here
back to lpi forum

Question 208

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 –R newgroup=sales sales
  • C. chgrp –p sales sales
  • D. chown --persistent *.sales sales
  • E. chmod 2775 sales
Answer:

C,E

User Votes:
A 6 votes
50%
B
50%
C
50%
D
50%
E 6 votes
50%
Discussions
0 / 1000
daittarn2
2 months ago

A and E are correct