Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat EX200 Exam - Topic 1 Question 55 Discussion

Posted by Alesia on Jun 26, 2022 at 04:03 PM

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

Suggested Answer: A

Get Premium EX200 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
11 comments · newest first
GL
Glennis 11 months ago
I'm not sure about the permissions part, seems a bit tricky.
AL
Alverta 12 months ago
Yup, that's how it works with the setgid bit!
TA
Tamekia 12 months ago
Wait, does that really set group ownership for new files automatically?
PA
Paulina 1 year ago
I think the commands are mostly right, but check the chmod syntax.
TE
Tennie 1 year ago
Sounds good, but don't forget the sticky bit!
JI
Jimmie 1 year ago
I believe we need to use `chgrp` to set the group ownership, but I’m not entirely sure if `chmod g+w` is enough for the permissions. I might need to double-check that.
ST
Stefan 1 year ago
I’m a bit confused about the order of commands. Should we change the group ownership before or after creating the directory?
SA
Sabrina 1 year ago
I think I remember that we need to use `chmod` to set the group permissions, but I'm not sure about the exact syntax for making it writable for the group.
LE
Leonie 1 year ago
I practiced a similar question where we had to set up a shared directory for a project team. I think using `chmod g+s` is right to ensure new files inherit the group ownership.
JA
James 1 year ago
This is a tricky one, but I think the single configuration file is the way to go. It'll keep the codebase simple and make it easier to deploy to the different environments.
LA
Lawrence 1 year ago
Okay, I think I've got this. The FLOOR function returns the smallest integer greater than or equal to a number, and TRUNC can be used with both NUMBER and DATE values. Those seem to be the two correct statements.
0/2000 characters

Save Cancel