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 2 Question 57 Discussion

Posted by Tarra on Aug 01, 2022 at 12:27 AM

Configure the permissions of /var/tmp/fstab

Copy the file /etc/fstab to /var/tmp/fstab. Configure the permissions of /var/tmp/fstab so that:

the file /var/tmp/fstab is owned by the root user.

the file /var/tmp/fstab belongs to the group root.

the file /var/tmp/fstab should not be executable by anyone.

the user natasha is able to read and write /var/tmp/fstab.

the user harry can neither write nor read /var/tmp/fstab.

all other users (current or future) have the ability to read /var/tmp/fstab.

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
17 comments · newest first
AL
Alishia 1 year ago
Yeah, but make sure to check with `ls -l` after!
JE
Jenelle 1 year ago
So all users can read it by default? That's interesting!
DO
Dorothea 1 year ago
Wait, why would Harry need zero permissions? Seems harsh!
TO
Torie 1 year ago
Don't forget to set the ACLs for Natasha and Harry.
RI
Ria 1 year ago
Just use `cp -a` to copy the file!
SH
Shawna 1 year ago
I practiced a similar question, and I think the order of commands matters. We should copy the file first before changing permissions, right?
LA
Lazaro 1 year ago
I recall that the default permissions might allow read access for others, so we might not need to set that explicitly.
KA
Kathryn 1 year ago
I think we need to use `chmod` to set the permissions, but I’m a bit confused about how to ensure harry has no access.
LO
Louis 1 year ago
I remember we practiced setting file permissions, but I’m not sure if I got the ACL commands right for natasha and harry.
RO
Rodolfo 1 year ago
I’m pretty sure the command to copy the file is `cp`, but I can't recall if we need to use any options with it. Should we use `-a` or just a simple `cp`?
MA
Marta 1 year ago
I practiced a similar question where we had to set permissions for multiple users. I think the default permissions will allow others to read, but we need to check with `ls -l` after setting everything up.
OS
Osvaldo 1 year ago
I remember something about using `setfacl` for specific user permissions, but I’m a bit confused about how to deny Harry access while allowing Natasha to read and write.
TA
Talia 1 year ago
I think we need to use `chown` to set the owner and group for the file, right? I'm not entirely sure about the exact syntax though.
YO
Yong 1 year ago
I'm a little confused by the options presented. None of them seem quite right to me. I'll have to review the Flutter documentation on floating action buttons to make sure I understand the correct approach.
KA
Kanisha 1 year ago
Ah, the promotion mix - that's an important marketing concept. Let me quickly review the four elements in my mind before selecting the answer.
JA
Jamal 1 year ago
This seems like a pretty straightforward question. I'd go with change management - that's usually the first step when making any kind of configuration changes.
PE
Pearly 1 year ago
Ugh, log searching is the worst. I'm just going to guess and hope for the best. Maybe option C will work?
0/2000 characters

Save Cancel