


CHGRP(1)                 USER COMMANDS                   CHGRP(1)



NAME
     chgrp - change the group ownership of a file

SYNOPSIS
     chgrp [ -f ] [ -R ] _g_r_o_u_p_f_i_l_e_n_a_m_e...

DESCRIPTION
     chgrp changes the group ID (GID) of the _f_i_l_e_n_a_m_es  given  as
     arguments  to  _g_r_o_u_p.  The group may be either a decimal GID
     or a group name found in the GID file, /etc/group.

     You must belong to the specified group and be the  owner  of
     the file, or be the super-user.

OPTIONS
     -f   Force.  Do not report errors.

     -R   Recursive.  chgrp descends through the  directory,  and
          any  subdirectories,  setting  the  specified GID as it
          proceeds.  When symbolic links are  encountered,  their
          group is changed, but they are not traversed.

FILES
     /etc/group

SEE ALSO
     chown(2V), group(5), passwd(5)




























Sun Release 4.1   Last change: 9 September 1987                 1



