New Year Sale 2026! 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

Actual exam question for RedHat's EX200 exam
Question #: 57
Topic #: 2
[All EX200 Questions]

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.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Alishia
4 months ago
Yeah, but make sure to check with `ls -l` after!
upvoted 0 times
...
Jenelle
4 months ago
So all users can read it by default? That's interesting!
upvoted 0 times
...
Dorothea
4 months ago
Wait, why would Harry need zero permissions? Seems harsh!
upvoted 0 times
...
Torie
4 months ago
Don't forget to set the ACLs for Natasha and Harry.
upvoted 0 times
...
Ria
4 months ago
Just use `cp -a` to copy the file!
upvoted 0 times
...
Shawna
5 months ago
I practiced a similar question, and I think the order of commands matters. We should copy the file first before changing permissions, right?
upvoted 0 times
...
Lazaro
5 months ago
I recall that the default permissions might allow read access for others, so we might not need to set that explicitly.
upvoted 0 times
...
Kathryn
5 months 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.
upvoted 0 times
...
Louis
5 months ago
I remember we practiced setting file permissions, but I’m not sure if I got the ACL commands right for natasha and harry.
upvoted 0 times
...
Rodolfo
5 months 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`?
upvoted 0 times
...
Marta
5 months 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.
upvoted 0 times
...
Osvaldo
5 months 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.
upvoted 0 times
...
Talia
5 months 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.
upvoted 0 times
...
Yong
5 months 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.
upvoted 0 times
...
Kanisha
5 months 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.
upvoted 0 times
...
Jamal
5 months 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.
upvoted 0 times
...
Pearly
5 months ago
Ugh, log searching is the worst. I'm just going to guess and hope for the best. Maybe option C will work?
upvoted 0 times
...

Save Cancel