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?
4
At the command prompt, type chown user1 owner* and press Enter to change the ownership to the user1 user for both ownersample and ownerdir. Why were you successful?
5
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?
6
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.
7
At the command prompt, type chown R user1 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!