CHGRP
Change group ownership
&qt;&qt;chgrp&qt;&qt; changes the group ownership of each given File to Group (which can be either a group name or a numeric group id) or to the group of an existing reference file.
SYNTAX
chgrp [Options]… {Group | –reference=File} File…
KEY
&qt;-c&qt;&qt;
&qt;–changes&qt;&qt;
Verbosely describe the action for each File whose group actually
changes.
&qt;-f&qt;&qt;
&qt;–silent&qt;&qt;
&qt;–quiet&qt;&qt;
Do not print error messages about files whose group cannot be
changed.
&qt;-f&qt;&qt;
&qt;–no-dereference&qt;&qt;
Act on symbolic links themselves instead of what they point to.
Only available if the &qt;lchown&qt;&qt; system call is provided.
&qt;–reference=FILE&qt;&qt;
Use the group of the reference FILE instead of an explicit GROUP.
&qt;-v&qt;&qt;
&qt;–verbose&qt;&qt;
Verbosely describe the action or non-action taken for every File.
&qt;-R&qt;&qt;
&qt;–recursive&qt;&qt;
Recursively change the group ownership of directories and their
contents.Example
Make Oracle the owner of the database directory
$chgrp oracle /usr/database