chgrp
Change file group ownership with dry-run support to preview changes. Modifies filesystem group metadata and returns JSON.
Instructions
Change file group ownership with dry-run support. Destructive: modifies filesystem group metadata. Use --dry_run to preview changes safely. Returns JSON with operation result. Use to reassign group ownership of files. Not for changing user ownership — use 'chown'. Not for permission changes — use 'chmod'. See also 'chown', 'chmod'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Report operations without changing files. | |
| group | Yes | Group name or numeric gid. | |
| no_follow | No | Do not follow symlinks where supported. | |
| paths | Yes | Paths whose group should change. |