CHGRP Command

HSI Version: 

All

Purpose: 

Changes group ownership of HPSS nodes 

Aliases: 

 

Command Format: 

chgrp  [ -h ] [ -R ] group_owner path ...]

Options: 

-h : ** For symlinks, change ownership of symlink instead of object which it references. [HPSS does not provide this capability, so symlinks are silently ignored if this option is specified]

-R : [standard option] recursively traverse directories in the specified path(s)

Keywords: 

DIRn 

Usage Notes: 

The required `groupname' parameter refers to a group name as known to the HPSS system, not to groups on the local host, except by coincidence. The HPSS group list is maintained by the HPSS system administrator. 

The -R option can be used to recursively change the group ownership of all nodes within a directory tree. 

Example: 

chgrp -R staff /usr/local/*

Related Command(s): 

CHMOD, CHOWN