1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
2 .TH CHGRP "1" "March 2007" "GNU coreutils 6.9" "User Commands"
4 chgrp \- change group ownership
7 [\fIOPTION\fR]... \fIGROUP FILE\fR...
10 [\fIOPTION\fR]... \fI--reference=RFILE FILE\fR...
12 .\" Add any additional description here
14 Change the group of each FILE to GROUP.
15 With \fB\-\-reference\fR, change the group of each FILE to that of RFILE.
17 \fB\-c\fR, \fB\-\-changes\fR
18 like verbose but report only when a change is made
21 affect the referent of each symbolic link (this is
22 the default), rather than the symbolic link itself
24 \fB\-h\fR, \fB\-\-no\-dereference\fR
25 affect each symbolic link instead of any referenced
26 file (useful only on systems that can change the
27 ownership of a symlink)
29 \fB\-\-no\-preserve\-root\fR
30 do not treat `/' specially (the default)
32 \fB\-\-preserve\-root\fR
33 fail to operate recursively on `/'
35 \fB\-f\fR, \fB\-\-silent\fR, \fB\-\-quiet\fR
36 suppress most error messages
38 \fB\-\-reference\fR=\fIRFILE\fR
39 use RFILE's group rather than specifying a
42 \fB\-R\fR, \fB\-\-recursive\fR
43 operate on files and directories recursively
45 \fB\-v\fR, \fB\-\-verbose\fR
46 output a diagnostic for every file processed
48 The following options modify how a hierarchy is traversed when the \fB\-R\fR
49 option is also specified. If more than one is specified, only the final
53 if a command line argument is a symbolic link
54 to a directory, traverse it
57 traverse every symbolic link to a directory
61 do not traverse any symbolic links (default)
64 display this help and exit
67 output version information and exit
71 Change the group of /u to "staff".
73 chgrp \fB\-hR\fR staff /u
74 Change the group of /u and subfiles to "staff".
76 Written by David MacKenzie and Jim Meyering.
78 Report bugs to <bug\-coreutils@gnu.org>.
80 Copyright \(co 2007 Free Software Foundation, Inc.
82 This is free software. You may redistribute copies of it under the terms of
83 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
84 There is NO WARRANTY, to the extent permitted by law.
86 The full documentation for
88 is maintained as a Texinfo manual. If the
92 programs are properly installed at your site, the command
96 should give you access to the complete manual.