Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 28 of 33
Free Preview · 33 of 108 · questions 1–33 of 108 are free. Sign up free to sync your progress across devices.
Hotspot Scenario
Select the appropriate option to complete the statement. Click Check Answer below to see the marked solution.
Hotspot Solution:
The file is a member of the root group and belongs to root. So root(rw) have rw_r_ _ r _ _ It is not executable by anyone. natasha has read and write access. harry has no read or write access. All other users can read the file. cp /etc/fstab /var/tmp/fstab chown root:root /var/tmp/fstab (not requireed) chmod 644 /var/tmp/fstab(rw_r _ r _) setfacl -m u:natasha:rw /var/tmp/fstab setfacl -m u:harry:--- /var/tmp/fstab getfacl /var/tmp/fstab
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
The file is a member of the root group and belongs to root. So root(rw) have rw_r_ _ r _ _ It is not executable by anyone. natasha has read and write access. harry has no read or write access. All other users can read the file. cp /etc/fstab /var/tmp/fstab chown root:root /var/tmp/fstab (not requireed) chmod 644 /var/tmp/fstab(rw_r _ _r_ _) setfacl -m u:natasha:rw /var/tmp/fstab setfacl -m u:harry:--- /var/tmp/fstab getfacl /var/tmp/fstab
sorry for confusion, and write is 222 for write only so read and write is 666
Wouldn't it be chmod 664 /var/tmp/fstab It says all other users should have read access but non should be able to execute??