exam questions

Exam EX200 All Questions

View all questions & answers for the EX200 exam

Exam EX200 topic 1 question 101 discussion

Actual exam question from RedHat's EX200
Question #: 101
Topic #: 1
[All EX200 Questions]

SIMULATION -
Create a collaborative directory/home/admins with the following characteristics:
Group ownership of /home/admins is adminuser
The directory should be readable, writable, and accessible to members of adminuser, but not to any other user. (It is understood that root has access to all files and directories on the system.)
Files created in /home/admins automatically have group ownership set to the adminuser group

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
mkdir /home/admins
chgrp -R adminuser /home/admins
chmodg+w /home/admins
chmodg+s /home/admins

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
PENNSHARK
6 months ago
roupadd adminuser [root@3af65124781c ~]# mkdir /home/admins [root@3af65124781c ~]# chown :adminuser /home/admins [root@3af65124781c ~]# setfacl -m g:adminuser:rw /home/admins [root@3af65124781c ~]# chmod o-rwx /home/admins [root@3af65124781c ~]# chmod g+s /home/admins
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago