chgrp(1) — Commands
OSF
NAME
chgrp − Changes the group ownership of a file or directory
SYNOPSIS
chgrp [-fR] group_name | group_ID file
The chgrp command changes the group associated with the specified file or directory to group_name or group_ID.
FLAGS
-fSuppresses all error reporting.
-RCauses chgrp to descend recursively through its directory arguments, setting the specified group ID. When symbolic links are encountered, their group is changed, but they are not traversed.
DESCRIPTION
If you do not own the file and do not belong to the new group, you must have superuser authority to change the group name or group ID.
EXAMPLES
To change the group ownership of the file or directory named proposals to staff, enter:
chgrp staff proposals
The group access permissions for proposals now apply to staff. See chmod for details.
FILES
/etc/groupContains group information.