chgrp Command - Change Owner Group

You can change the owner group using the chgrp command.

chgrp OwnerGroup FileName

This is a sample to change the owner group to "myapp" with the chgrp command.

chgrp myapp file

See the permissions article for owner groups.

What are permissions?

Recursively change the owner group

Use the "-R" option to recursively change the owner group.

chgrp -R myapp dir

Associated Information