1CHGRP(1) 386BSD Reference Manual CHGRP(1) 2 3NNAAMMEE 4 cchhggrrpp - change group 5 6SSYYNNOOPPSSIISS 7 cchhggrrpp [--RRff] _g_r_o_u_p _f_i_l_e_s ... 8 9DDEESSCCRRIIPPTTIIOONN 10 The chgrp utility sets the group ID of the file named by each _f_i_l_e 11 operand to the _g_r_o_u_p ID specified by the group operand. 12 13 Options: 14 15 --RR Recursively change file group IDs. For each _f_i_l_e operand that 16 names a directory, chgrp changes the group of the directory and 17 all files in the file hierarchy below it. When symbolic links 18 are encountered, their group is changed, but they are not 19 traversed. 20 21 --ff The force option ignores errors, except for usage errors and 22 doesn't query about strange modes (unless user does not have 23 proper permissions). 24 25 Operands: 26 27 _g_r_o_u_p The _g_r_o_u_p can be either a group name from the group database, or a 28 numeric group ID. 29 30 _f_i_l_e A pathname of a file whose group ID is to be modified. 31 32 The user invoking must belong to the specified group and be the owner of 33 the file, or be the super-user. 34 35 The cchhggrrpp utility exits 0 on success, and >0 if an error occurs. 36 37FFIILLEESS 38 /etc/group Group ID file 39 40SSEEEE AALLSSOO 41 chown(2), chown(8), group(5), passwd(5) 42 43SSTTAANNDDAARRDDSS 44 The cchhggrrpp function is expected to be POSIX 1003.2 compatible. This 45 manual page is derived from the POSIX 1003.2 manual page. 46 474.2 Berkeley Distribution June 27, 1991 1 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67