Question: At the command prompt, type chgrp sys owner * and press Enter to change the group ownership to the sys group for both ownersample and
At the command prompt, type chgrp sys owner and press Enter to change the group ownership to the sys group for both ownersample and ownerdir. Why were you successful?
At the command prompt, type chown user owner and press Enter to change the ownership to the user user for both ownersample and ownerdir. Why were you successful?
At the command prompt, type chown root.root owner and press Enter to change the ownership and group ownership back to the root user for both ownersample and ownerdir. Although you are not the current owner of these files, why did you not receive an error message?
At the command prompt, type mv ownersample ownerdir and press Enter. Next, type ls lR at the command prompt and press Enter to note that the ownersample file now exists within the ownerdir directory and that both are owned by root.
At the command prompt, type chown R user ownerdir and press Enter. Next, type ls lR at the command prompt and press Enter. Who owns the ownerdir directory and ownersample file?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
