Support This Project

site chgrp

Description

Change the group owner on one or more files and/or folders.

Syntax

site chgrp <group> <file1> [<file2> ...]

Detailed information on the options/arguments: <group>, <file>

Limitations

Changing the group owner on a directory will not change the owner of any files or subdirectories within the folder being changed.

Examples

site chgrp monkeys flowers.jpg photos thumbnails

The group owner on the file flowers.jpg and the folders photos and thumbnails will be changed to the monkeys group.

site chgrp admins data.bin

The group owner on the file data.bin will be changed to the admins group.