Exam4Training

Which of the following commands would satisfy this requirement?

A Linux administrator needs every new file created on a directory to maintain the group permissions of the same directory.

Which of the following commands would satisfy this requirement?
A . chmod o+s <directory>
B. chmod u+s <directory>
C. chmod +s <directory>
D. chmod g+s <directory>

Answer: D

Explanation:

Reference: https://unix.stackexchange.com/questions/115631/getting-new-files-to-inherit-group-permissions-on-linux

Latest XK0-004 Dumps Valid Version with 267 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version