Test Out Linux Pro 8.8.8 Ownership (Practice Questions)
What would you enter at the command prompt to change the group ownership for the devstyle.txt file to rand in the present working directory?
chgrp rand devstyle.txt
Which of the following commands make sales the group owner of the /sales/report file? (Select TWO. Each answer is an independent solution.)
chown .sales /sales/report chown :sales /sales/report
You use ls -l /home/sales/sales_projection_q2 and get this information: drwxr-xr-x 22 pclark acct 4096 Jun 19 15:01 sales_projection_q2 Which of the following commands will change the user owner to jyoung and the group owner to sales?
chown jyoung:sales /home/sales/sales_projection_q2
Roberto, a help desk technician, received a call from Sally. She was not able to change to a directory that she owns. The following is the output from the commands that Sally entered: [sally@linux ~]$ ls -al drw-rw-rw-. 2 sally sally 6 Mar 14 16:08 Reports [sally@linux ~]$ cd Reports/ bash: cd: Reports/: Permission denied [sally@linux -]$ Based on the output, which of the following describes the problem?
Sally does not have the eXecute permission as owner of the directory.
You need to see who has permissions to the sales_projection_q2 file. You use ls -l sales_projection_q2 and receive the following information: drwxr-xr-x 22 pclark acct 4096 Jun 19 15:01 sales_projection_q2 Which user owns this file? (Your answer is case-sensitive.) Which group owns this file? (Note: your answer is case-sensitive.)
Which user owns this file? pclark Which group owns this file? acct
