Which three actions by root enables both root and test1 to read /etc/data?

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.)

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.)

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

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *