5 \fBchgrp [\fB\-R\fR] [\fIowner:\fR]\fIgroup \fIfile\fR ...\fR
20 # Change directory hierarchies
23 .B chgrp system file1 file2
24 # Make \fIsystem\fR the group of the files
26 .B chrgp \-R other dir1
27 # Make \fIother\fR the group of all files below dir1
30 The group field (and optionally owner field) of the named files is changed to
34 Alternatively, a decimal gid (uid) may be specified instead of a group name.
35 If the \fB\-R\fR flag is used, the changes will be applied recursively to
36 all files in named directories. Only the superuser may execute this command
37 to set arbitrary groups. Normal users can only change the group if they own
38 the file, and the group is their own group (MINIX 3), or one of their
39 supplementary groups (Minix-vmd).