chgrp [-fhv] [-R [-H | -L | -P]] group file …
chgrp
sets the group ID of the file.
-f |
group can be a group name or group ID.
The user invoking chgrp must belong to the group and be the owner of the file, or be
the super-user.
The chgrp utility exits 0 on success, and >0 if an error occurs.
In previous versions of this system, symbolic links did not have groups.
The -v option is non-standard and its use in scripts is not recommended.
FILES
/etc/group group ID file
SEE
chown(2), fts(3), group(5), passwd(5), symlink(7), chown(8)