SUN
310-200 · Question #169
Given: $ id uid=1001(test1) gid=1(other) $ ls -al /etc/data -r-------- 1 root other 394 Jan 25 16:56 /etc/data $ cat /etc/data cat: cannot open /etc/data Which three actions by root enables both…
The correct answer is A. #chown test1 /etc/data C. #chmod g+r /etc/data D. #setfacl -m g:other:r--, m:r-- /etc/data. See the full explanation below for the reasoning.
Question
Given:
$ id uid=1001(test1) gid=1(other) $ ls -al /etc/data -r-------- 1 root other 394 Jan 25 16:56 /etc/data $ cat /etc/data cat: cannot open /etc/data Which three actions by root enables both root and test1 to read /etc/data? (Choose three.)
Options
- A#chown test1 /etc/data
- B#setfacl g+r /etc/data
- C#chmod g+r /etc/data
- D#setfacl -m g:other:r--, m:r-- /etc/data
- E#chgrp sys /etc/data
How the community answered
(41 responses)- A80% (33)
- B7% (3)
- E12% (5)
Community Discussion
No community discussion yet for this question.