| Line | |
|---|
| 1 | .TH CHGRP 1
|
|---|
| 2 | .SH NAME
|
|---|
| 3 | chgrp \- change group
|
|---|
| 4 | .SH SYNOPSIS
|
|---|
| 5 | \fBchgrp [\fB\-R\fR] [\fIowner:\fR]\fIgroup \fIfile\fR ...\fR
|
|---|
| 6 | .br
|
|---|
| 7 | .de FL
|
|---|
| 8 | .TP
|
|---|
| 9 | \\fB\\$1\\fR
|
|---|
| 10 | \\$2
|
|---|
| 11 | ..
|
|---|
| 12 | .de EX
|
|---|
| 13 | .TP 20
|
|---|
| 14 | \\fB\\$1\\fR
|
|---|
| 15 | # \\$2
|
|---|
| 16 | ..
|
|---|
| 17 | .SH OPTIONS
|
|---|
| 18 | .FL "\-R" "Change directory hierarchies"
|
|---|
| 19 | .SH EXAMPLES
|
|---|
| 20 | .EX "chgrp system file1 file2" "Make \fIsystem\fR the group of the files"
|
|---|
| 21 | .EX "chrgp \-R other dir1" "Make \fIother\fR the group of all files below dir1"
|
|---|
| 22 | .SH DESCRIPTION
|
|---|
| 23 | .PP
|
|---|
| 24 | The group field (and optionally owner field) of the named files is changed to
|
|---|
| 25 | .I group
|
|---|
| 26 | and
|
|---|
| 27 | .I owner .
|
|---|
| 28 | Alternatively, a decimal gid (uid) may be specified instead of a group name.
|
|---|
| 29 | If the \fB\-R\fR flag is used, the changes will be applied recursively to
|
|---|
| 30 | all files in named directories. Only the superuser may execute this command
|
|---|
| 31 | to set arbitrary groups. Normal users can only change the group if they own
|
|---|
| 32 | the file, and the group is their own group (MINIX 3), or one of their
|
|---|
| 33 | supplementary groups (Minix-vmd).
|
|---|
| 34 | .SH "SEE ALSO"
|
|---|
| 35 | .BR chown (8),
|
|---|
| 36 | .BR chmod (1),
|
|---|
| 37 | .BR ls (1),
|
|---|
| 38 | .BR chown (2).
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.