4.3BSD-Reno/share/man/cat1/chgrp.0

Compare this file to the similar file:
Show the results in this format:

CHGRP(1)		    UNIX Reference Manual		      CHGRP(1)

NNAAMMEE
     cchhggrrpp - change group

SSYYNNOOPPSSIISS
     cchhggrrpp [--RRff] _g_r_o_u_p _f_i_l_e_s ...

DDEESSCCRRIIPPTTIIOONN
     The chgrp utility sets the group ID of the file named by each _f_i_l_e
     operand to the _g_r_o_u_p ID specified by the group operand.

     Options:

     --RR    Recursively change file group IDs.  For each _f_i_l_e operand that
	   names a directory, chgrp changes the group of the directory and all
	   files in the file hierarchy below it.  When symbolic links are en-
	   countered, their group is changed, but they are not traversed.

     --ff    The force option ignores errors, except for usage errors and
	   doesn't query about strange modes (unless user does not have proper
	   permissions).

     Operands:

     _g_r_o_u_p
	   The _g_r_o_u_p can be either a group name from the group database, or a
	   numeric group ID.

     _f_i_l_e
	   A pathname of a file whose group ID is to be modified.

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

     The cchhggrrpp utility exits 0 on success, and >0 if an error occurs.

FFIILLEESS
     /_e_t_c/_g_r_o_u_p   Group ID file


SSEEEE AALLSSOO
     chown(2), chown(8), group(5), passwd(5)

SSTTAANNDDAARRDDSS
     The cchhggrrpp function is expected to be POSIX 1003.2 compatible.  This manu-
     al page is derived from the POSIX 1003.2 manual page.