[1.] To change the owner of a file named /var/opt/runit from wwright (who happens to be a member of the users group), to
Posted: Mon May 02, 2022 12:48 pm
[1.] To change the owner of a file named /var/opt/runit
from wwright (who happens to be a member of the users group), to
krichards, (who is in the the editors group). Supposing the goal is
to change BOTH the user and the group owners, which of the
following commands will accomplish this?
A. chown wwright dnelson /var/opt/runme
B. chown -u "dnelson" -g "editors" /var/opt/runme
C. chown dnelson /var/opt/runme
D. chown dnelson:editors /var/opt/runme
[2.] Which permission, when applied to a directory in the
file system, will allow a user to enter the directory?
A. Read
B. Write
C. Execute
D. Access Control
[3.] A user needs to open a file, edit it, and then save
the changes. What permissions does he need to do this? (Choose
two.)
A. Read
B. Write
C. Execute
D. Modify
from wwright (who happens to be a member of the users group), to
krichards, (who is in the the editors group). Supposing the goal is
to change BOTH the user and the group owners, which of the
following commands will accomplish this?
A. chown wwright dnelson /var/opt/runme
B. chown -u "dnelson" -g "editors" /var/opt/runme
C. chown dnelson /var/opt/runme
D. chown dnelson:editors /var/opt/runme
[2.] Which permission, when applied to a directory in the
file system, will allow a user to enter the directory?
A. Read
B. Write
C. Execute
D. Access Control
[3.] A user needs to open a file, edit it, and then save
the changes. What permissions does he need to do this? (Choose
two.)
A. Read
B. Write
C. Execute
D. Modify