source: trunk/minix/man/man1/chgrp.1@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 1013 bytes
Line 
1.TH CHGRP 1
2.SH NAME
3chgrp \- 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
24The group field (and optionally owner field) of the named files is changed to
25.I group
26and
27.I owner .
28Alternatively, a decimal gid (uid) may be specified instead of a group name.
29If the \fB\-R\fR flag is used, the changes will be applied recursively to
30all files in named directories. Only the superuser may execute this command
31to set arbitrary groups. Normal users can only change the group if they own
32the file, and the group is their own group (MINIX 3), or one of their
33supplementary 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.