XK0-006 · Question #106
A systems administrator receives reports from users who are having issues while trying to modify newly created files in a shared directory. The administrator sees the following outputs: Which of the…
The correct answer is D. Adding a setgid bit to the group in the shared folder. Setting the setgid bit on the shared directory ensures that all newly created files and subdirectories inherit the directory’s group ownership, allowing all group members to modify files consistently without manual intervention.
Question
A systems administrator receives reports from users who are having issues while trying to modify newly created files in a shared directory. The administrator sees the following outputs:
Which of the following provides the best resolution to this issue?
Exhibit
Options
- AAdding a setuid bit to the user in the shared folder
- BManually changing the group of the newly created files
- CChanging all directory contents to be writable and readable for everyone
- DAdding a setgid bit to the group in the shared folder
How the community answered
(49 responses)- A2% (1)
- B12% (6)
- C6% (3)
- D80% (39)
Explanation
Setting the setgid bit on the shared directory ensures that all newly created files and subdirectories inherit the directory’s group ownership, allowing all group members to modify files consistently without manual intervention.
Topics
Community Discussion
No community discussion yet for this question.
