Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

User Commands (c) chgrp(1)
EXAMPLES
1. To change the group ownership of the le or directory named proposals to staff,enter:
chgrp staff proposals
The group access permissions for proposals now apply to staff. See the chmod(1) refer-
ence page for details.
2. To recursively change the group ownership of all OSS les on the local node to the
SUPER group, enter:
chgrp -W NOG -W NOE -R SUPER /
NOTES
Because /G and /E both appear in your local root directory, you should be very careful when
using OSS shell commands on or from the root directory. OSS shell commands that perform
recursive actions make no distinction between Guardian and OSS les or between local and
remote les. You can use the -W NOE and -W NOG ags or the UTILSGE environment vari-
able to exclude objects in the Guardian le system or objects accessible through the Expand pro-
duct.
RELATED INFORMATION
Commands: chmod(1), chown(1), ls(1).
Functions: chmod(2), chown(2).
STANDARDS CONFORMANCE
The -W NOE and -W NOG ags and the UTILSGE environment variable are HP extensions to
the XPG4 Version 2 specication.
527188-004 Hewlett-Packard Company 239