What must a user do in a shared directory to ensure that each member of the accounting group has full read and write access to the salaries.txt file they created?
a. chgrp accounting salaries.txt
b. chown susan:accounting salaries.txt
c. rm -r accounting.txt
d. sudo chgrp accountin salaries.txt
Ans: a. chgrp accounting salaries.txt
Change the group ownership to the group: chgrp accounting salaries.txt —
The user doesn't have to be root or use sudo to change group ownership because the file
creator is the file's user and group owner, and therefore may change its permissions at will.
You might also like to view...
What KPA at the defined level establishes and assigns responsibilities for refining an organization's software processes?
A. Organization process definition B. Integrated software management C. Training program D. Organization process focus
Draw a string on a picture at the top of the picture and centered horizontally. You will need to use the FontMetrics class to get the height of the string in pixels in order to determine where the baseline should be so that the string is visible. You should also subtract the descent from the height.
What will be an ideal response?
By default, every port on a switch is in VLAN 1. This is the ____ VLAN.
A. root B. domain C. management D. switch
Which of the following is considered a best practice when an organization is considering posting employee photographs on its internal intranet website?
A. Process all employee requests to take down their photograph within 5 business days of receiving the request B. Require written consent from employees after posting their photographs C. Request a photograph from each employee before the employee is hired and obtain consent for posting the photograph in the employment agreement D. Obtain the employee's consent before posting the photograph