Part 1 (on Node1 Server)
Task 5 [Controlling Access to Files with ACLs]
Copy the file /etc/fstab to /var/tmp. Configure the following permissions on /var/tmp/fstab.
The file /var/tmp/fstab is owned by root user
The file /var/tmp/fstab is belongs to the root group
The file /var/tmp/fstab should be executable by anyone
The user harry is able to read and write on /var/tmp/fstab
The user natasha can neither read or write on /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
11 comments · newest first
YO
Yolande
1 year ago
Can anyone explain why harry gets write access but not Natasha?
GE
Gerry
1 year ago
I thought Natasha could at least read it? That's harsh!
LO
Lorean
1 year ago
Wait, why is the file executable by anyone? That seems risky.
CA
Carlene
1 year ago
Totally agree, ACLs make managing access so much easier.
SI
Sina
1 year ago
Just a reminder, ACLs are super useful for fine-grained permissions!
LO
Lorrie
1 year ago
I believe the command `chmod a+x` is correct for making the file executable by everyone, but I hope I remember the syntax for `setfacl` right!
IO
Iola
1 year ago
I practiced a similar question where I had to set ACLs for different users, but I can't recall if I used `chmod` or `setfacl` for everything.
KI
Kimbery
1 year ago
I'm a bit unsure about the default permissions for the group and others. Do they need to be set explicitly or do they inherit from the file's owner?
ER
Ernie
1 year ago
I think I remember that we need to use `setfacl` to set specific permissions for users like harry and natasha.
SA
Salome
1 year ago
Wait, what's SPC again? I'm drawing a blank on the details of that concept. I better review my notes before answering this.
DE
Delsie
1 year ago
Hmm, I'm a bit unsure about this one. I know changes in demand can shift the supply curve, but I'm not totally confident about the specific factors.