Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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.