Red_Hat
EX200 · Question #6
06. Create a Collaborative Directory Create a shared directory /home/managers with the following characteristics: - The group ownership of /home/managers is sysmgrs. - The directory should be…
This task requires creating a collaborative directory /home/managers with specific group ownership, permissions, and automatic group inheritance for new files.
Submitted by tyler.j· Apr 18, 2026Manage users and groups
Question
- Create a Collaborative Directory Create a shared directory /home/managers with the following characteristics: - The group ownership of /home/managers is sysmgrs. - The directory should be readable, writable, and executable by members of the sysmgrs group, but should not have read or write permissions for any other users (of course, the root user has access to all files and folders). - Any files created within /home/managers should automatically inherit the group ownership set to the sysmgrs group. Correct Answer: See the below explanation Explanation Explanation/Reference: Solution: [root@node1 ~]# mkdir /home/managers [root@node1 ~]# chgrp sysmgrs /home/managers [root@node1 ~]# chmod 2770 /home/managers # Verification [root@node1 ~]# ll -d /home/managers
Explanation
This task requires creating a collaborative directory /home/managers with specific group ownership, permissions, and automatic group inheritance for new files.
Concept tested. Directory permissions and SGID
Topics
#Directory permissions#Group ownership#SGID bit#Shared directories
Community Discussion
No community discussion yet for this question.