Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
.TH CHGRP 1 
2
.SH NAME
3
chgrp \- change file group
4
.SH SYNOPSIS
5
.B chgrp
6
[
7
.B -ou
8
]
9
.I group file ...
10
.SH DESCRIPTION
11
The group of
12
each named file
13
is changed to
14
.IR group ,
15
which should be a name known to the server holding the file.
16
.PP
17
A file's group can be changed by the file's owner, if the
18
owner is a member of the new group,
19
or by the leader of both
20
the file's current group and the new group.
21
.PP
22
The
23
.B -o
24
and
25
.B -u
26
option are synonyms; they specify that the
27
.I owner
28
is to be set, rather than the group.
29
They are ineffectual unless the file server is in the bootstrap
30
state that permits changing file ownership.
31
.SH SOURCE
32
.B /sys/src/cmd/chgrp.c
33
.SH "SEE ALSO"
34
.IR ls (1),
35
.IR chmod (1),
36
.IR stat (2)