CHGRP(1) BSD CHGRP(1)
NAME
chgrp - change group
SYNOPSIS
chgrp [ -fR ] group file ...
DESCRIPTION
chgrp changes the group ID of the files to group. The group can be
either a decimal GID or a group name found in the group ID file.
To invoke chgrp, you must belong to the specified group and be the owner
of the file, or be the super-user.
OPTIONS
-f When you specify the -f (force) option, chgrp does not report
errors.
-R When you specify the -R option, chgrp recursively descends its
directory arguments setting the specified group ID. When chgrp
encounters symbolic links, it changes their group but they are
not traversed.
FILES
/etc/group
SEE ALSO
chacl(1), chown(2), passwd(5), group(5), chown(8)