Chgrp
| chgrp | |
|---|---|
| Example usage of  chgrpcommand to change the files' groups | |
| Developer(s) | AT&T Bell Laboratories | 
| Initial release | May 1975 | 
| Written in | Plan 9: C | 
| Operating system | Unix, Unix-like, Plan 9, Inferno, IBM i | 
| Platform | Cross-platform | 
| Type | Command | 
| License | Plan 9: MIT License | 
chgrp, short for change group, is a shell command for changing the group associated with a Unix-based file system file – including special files such as directories. Changing the group of a file is restricted to a super-user (such as via sudo) or to the file's owning user if the user is in the specified group.
A file has access permissions for the owning user, a group and for others. Changing the group for a file changes access to it based on users' group memberships.