change group ID
chgrp [ -R ] group
chgrp changes the group ID of each
file to group. A group may be specified by
either its name or its ID (a decimal number). The names
and corresponding IDs of each group may be found in the
file /etc/group (for more details, refer to the
chgrp takes the following option:
Recursively change file group IDs. For each file
that names a directory, chgrp changes the group
ID of the directory and all files in the file hierarchy
Only the owner or the super user can change the group ID
of a file.
When used to change the group ID of a symbolic link,
chgrp automatically follows the link and tries to change
the group ID of the linked file. It makes no sense for
symbolic links to have their own permissions and ownerships.
chgrp is conformant with:
ISO/IEC DIS 99452:1992, Information technology Portable Operating System Interface (POSIX) Part 2: Shell and Utilities (IEEE Std 1003.21992);
NIST FIPS 1512;
AT&T SVID Issue 2;
X/Open CAE Specification, Commands and Utilities, Issue 4, 1992.
A version of chgrp
that can handle files greater than 2GB
is available in /u95/bin. See
for more information.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005