Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ chgrp(1) — 386BSD 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chown(2)

chown(8)

group(5)

passwd(5)

CHGRP(1)                    386BSD Reference Manual                   CHGRP(1)

NAME
     chgrp - change group

SYNOPSIS
     chgrp [-Rf] group files ...

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

     Options:

     -R      Recursively change file group IDs.  For each file 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 encountered, their group is changed, but they are not
             traversed.

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

     Operands:

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

     file   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 chgrp utility exits 0 on success, and >0 if an error occurs.

FILES
     /etc/group  Group ID file

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

STANDARDS
     The chgrp function is expected to be POSIX 1003.2 compatible.  This
     manual page is derived from the POSIX 1003.2 manual page.

4.2 Berkeley Distribution        June 27, 1991                               1



















Typewritten Software • bear@typewritten.org • Edmonds, WA 98026