BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / chgrp.0
CHGRP(1) UNIX Programmer's Manual CHGRP(1)
N\bNA\bAM\bME\bE
chgrp - change group
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
c\bch\bhg\bgr\brp\bp [ -\b-R\bRf\bf ] group file ...
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bC_\bh_\bg_\br_\bp changes the group-ID of the _\bf_\bi_\bl_\be_\bs to _\bg_\br_\bo_\bu_\bp. The group
may be either a decimal GID or a group name found in the
group-ID file.
The user invoking _\bc_\bh_\bg_\br_\bp must belong to the specified group
and be the owner of the file, or be the super-user.
No errors, except for usage errors, are reported when the -\b-f\bf
(force) option is given.
When the -\b-R\bR option is given, _\bc_\bh_\bg_\br_\bp recursively descends its
directory arguments setting the specified group-ID. When
symbolic links are encountered, their group is changed, but
they are not traversed.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
chown(1), chown(2), passwd(5), group(5)
Printed 7/9/88 April 21, 1988 1