The question Recursively set the owner and group of /home/shared/salesproject/ and its contents to sam and sales.

I know it would start out 'chown -R'

how would the rest go?


You will probably need to put sudo in front of these commands:

chown -R sam /home/shared/salesprojects
chgrp -R sales /home/shared/salesprojects

You can get documentation on commands using e.g. man chown or (for many commands) chown --help.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.