Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I use the command chown username:groupname filename to assign permissions to both a user and a group, does the command have the same results when executing chgrp groupname filename?

share|improve this question
up vote 3 down vote accepted

No, since you specified a user with chown.

chown :groupname filename
share|improve this answer
Thanks. Sorry I should have elaborated. I meant does the inclusion of the group name have the same result as chgrp when I run the command chown username:groupname filename? – PeanutsMonkey Mar 27 '12 at 21:24
chown allows you to change user and/or group, yes. – Ignacio Vazquez-Abrams Mar 27 '12 at 22:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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