CHGRP(1)                         User Commands
CHGRP(1)



NNAAMMEE
       chgrp - change group ownership

SSYYNNOOPPSSIISS
       cchhggrrpp [_O_P_T_I_O_N]... _G_R_O_U_P
       _F_I_L_E...  cchhggrrpp [_O_P_T_I_O_N]...
       _-_-_r_e_f_e_r_e_n_c_e_=_R_F_I_L_E
       _F_I_L_E...

DDEESSCCRRIIPPTTIIOONN
       Change  the  group of each FILE to GROUP.  With
       ----rreeffeerreennccee, change the group
       of each FILE to that of RFILE.

       --cc, ----cchhaannggeess
              like verbose but report only when a change
              is made

       ----ddeerreeffeerreennccee
              affect the referent of each symbolic link
              (this is the default), rather than the symbolic
              link itself

       --hh, ----nnoo--ddeerreeffeerreennccee
              affect each symbolic link instead of any
              referenced file (useful only on systems that
              can change the ownership of a symlink)

       ----nnoo--pprreesseerrvvee--rroooott
              do not treat `/' specially (the default)

       ----pprreesseerrvvee--rroooott
              fail to operate recursively on `/'

       --ff, ----ssiilleenntt, ----qquuiieett
              suppress most error messages

       ----rreeffeerreennccee=_R_F_I_L_E
              use RFILE's group rather than specifying a
              GROUP value

       --RR, ----rreeccuurrssiivvee
              operate on files and directories recursively

       --vv, ----vveerrbboossee
              output a diagnostic for every file processed

       The following options modify how a hierarchy is
       traversed when  the  --RR option  is  also  specified.
       If  more than one is specified, only the final one
       takes effect.

       --HH     if a command line argument is a symbolic
       link  to  a  directory,
              traverse it

       --LL     traverse every symbolic link to a directory
       encountered

       --PP     do not traverse any symbolic links (default)

       ----hheellpp display this help and exit

       ----vveerrssiioonn
              output version information and exit

EEXXAAMMPPLLEESS
       chgrp staff /u
              Change the group of /u to "staff".

       chgrp --hhRR staff /u
              Change the group of /u and subfiles to "staff".

AAUUTTHHOORR
       Written by David MacKenzie and Jim Meyering.

RREEPPOORRTTIINNGG BBUUGGSS
       Report bugs to <bug-coreutils@gnu.org>.

CCOOPPYYRRIIGGHHTT
       Copyright © 2006 Free Software Foundation, Inc.
       This  is  free  software.   You may redistribute
       copies of it under the terms      of      the
       GNU      General       Public       License
       <http://www.gnu.org/licenses/gpl.html>.   There  is
       NO WARRANTY, to the extent permitted by law.

SSEEEE AALLSSOO
       The full documentation for cchhggrrpp is
       maintained as a Texinfo manual.  If the  iinnffoo
       and  cchhggrrpp programs are properly installed
       at your site, the command

              iinnffoo cchhggrrpp

       should give you access to the complete manual.



chgrp 6.7                        December 2006
CHGRP(1)
