unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (SunOS-4.1.3)
Page:
Section:
Apropos / Subsearch:
optional field

CHGRP(1)                    General Commands Manual                   CHGRP(1)



NAME
       chgrp - change the group ownership of a file

SYNOPSIS
       chgrp [ -f ] [ -R ] groupfilename...

DESCRIPTION
       chgrp changes the group ID (GID) of the filenames given as arguments to
       group.  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 subdi-
              rectories,  setting the specified GID as it proceeds.  When sym-
              bolic links are encountered, their group is  changed,  but  they
              are not traversed.

FILES
       /etc/group

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



                               9 September 1987                       CHGRP(1)