1

I want to make sure all directories and sub directories are of the group hgdata, but I do not want to change owner's (they are many different owners).

The command chown -R will do the recursive ownership change for me, but how do I use chown without the userid supplied?

4

Use the chgrp command instead.

  • 1
    I just discovered you can do chown with an empty owner chown -R :group. But would definitely recommend doing chgrp instead of that :) – Alex Jun 7 '11 at 12:32

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.