chgrp
Change group of one or more files. toybox
On Linux
Linux
chgrp/chown [-RHLP] [-fvh] GROUP FILE...
-fSuppress most error messages-hChange symlinks instead of what they point to-RRecurse into subdirectories (implies -h)-HWith -R change target of symlink, follow command line symlinks-LWith -R change target of symlink, follow all symlinks-PWith -R change symlink, do not follow symlinks (default)-vVerboseSeveral platforms
Change group ownership of files and directories.
Change the owner group of a file/directory
chgrp group path/to/file_or_directoryIdentifyRecursively change the owner group of a directory and its contents
chgrp --recursive group path/to/directoryIdentifyChange the owner group of a symbolic link
chgrp --no-dereference group path/to/symlinkIdentifyChange the owner group of a file/directory to match a reference file
chgrp --reference path/to/reference_file path/to/file_or_directoryIdentify