nerdexam
Red_Hat

EX200 · Question #16

16. Create a shared directory Create a shared directory with the following characteristics: The group owner of /home/test is admins. Members of the admins group can read, write, and access this…

The correct answer is A. See the below explanation. Explanation/Reference: Create the group: [root@node1 ~]# groupadd admins Create the directory: [root@node1 ~]# mkdir /home/test Set the group ownership: [root@node1 ~]# chgrp admins /home/test Set the permissions: [root@node1 ~]# chmod 2770 /home/test [root@node1 ~]# ls -ld…

Submitted by obi.ng· Apr 18, 2026Manage users and groups

Question

  1. Create a shared directory Create a shared directory with the following characteristics: The group owner of /home/test is admins. Members of the admins group can read, write, and access this directory. Other users (except root) do not have these permissions. Files created inside this directory automatically have their group ownership set to the admins group.

Options

  • ASee the below explanation

How the community answered

(24 responses)
  • A
    100% (24)

Explanation

Explanation/Reference: Create the group: [root@node1 ~]# groupadd admins Create the directory: [root@node1 ~]# mkdir /home/test Set the group ownership: [root@node1 ~]# chgrp admins /home/test Set the permissions: [root@node1 ~]# chmod 2770 /home/test [root@node1 ~]# ls -ld /home/test drwxrws--- root admins /home/test

Topics

#file permissions#group ownership#shared directories#SetGID

Community Discussion

No community discussion yet for this question.

Full EX200 Practice