chgrp

The command that changes the group that owns a file.

In more detail

If you own a file you can move it into any group you belong to without root; other changes need sudo. Group ownership matters because the group permission set applies to every member of that group.

Related terms

Taught in

References