CHGRP(1) User Commands CHGRP(1)

# [NAME](#NAME)

chgrp - change group ownership

# [SYNOPSIS](#SYNOPSIS)

**chgrp** \[*OPTION*]... *GROUP FILE*...  
**chgrp** \[*OPTION*]... *--reference=RFILE FILE*...

# [DESCRIPTION](#DESCRIPTION)

Change the group of each FILE to GROUP. With **--reference**, change the group of each FILE to that of RFILE.

[**-c, --changes**](#c,)

like verbose but report only when a change is made

[**-f, --silent, --quiet**](#f,)

suppress most error messages

[**-v, --verbose**](#v,)

output a diagnostic for every file processed

[**--dereference**](#dereference)

affect the referent of each symbolic link (this is the default), rather than the symbolic link itself

[**-h, --no-dereference**](#h,)

affect symbolic links instead of any referenced file; useful only on systems that can change the ownership of a symlink

[**--from=CURRENT\_OWNER:CURRENT\_GROUP**](#from=CURRENT_OWNER:CURRENT_GROUP)

change the ownership of each file only if its current owner and/or group match those specified here. Either may be omitted, in which case a match is not required for the omitted attribute

[**--no-preserve-root**](#no)

do not treat '/' specially (the default)

[**--preserve-root**](#preserve)

fail to operate recursively on '/'

[**--reference=RFILE**](#reference=RFILE)

use RFILE's ownership rather than specifying values. RFILE is always dereferenced if a symbolic link.

[**-R, --recursive**](#R,)

operate on files and directories recursively

The following options modify how a hierarchy is traversed when the **-R** option is also specified. If more than one is specified, only the final one takes effect. **-P** is the default.

[**-H**](#H)

if a command line argument is a symlink to a directory, traverse it

[**-L**](#L)

traverse every symbolic link to a directory encountered

[**-P**](#P)

do not traverse any symbolic links

[**--help**](#help)

display this help and exit

[**--version**](#version)

output version information and exit

# [EXAMPLES](#EXAMPLES)

[chgrp staff /u](#chgrp)

Change the group of /u to "staff".

[chgrp -hR staff /u](#chgrp~2)

Change the group of /u and subfiles to "staff".

# [AUTHOR](#AUTHOR)

Written by David MacKenzie and Jim Meyering.

# [REPORTING BUGS](#REPORTING_BUGS)

Report bugs to: &lt;bug-coreutils@gnu.org&gt;.  
Report any translation bugs to: &lt;https://translationproject.org/team/&gt;.  
GNU coreutils home page: &lt;https://www.gnu.org/software/coreutils/&gt;  
General help using GNU software: &lt;https://www.gnu.org/gethelp/&gt;

# [COPYRIGHT](#COPYRIGHT)

Copyright © 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later &lt;https://gnu.org/licenses/gpl.html&gt;.  
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

# [SEE ALSO](#SEE_ALSO)

[**chown**(1)](/man/os/coreutils/chown.1), [**chown**(2)](/man/os/coreutils/chown.2)

Full documentation &lt;https://www.gnu.org/software/coreutils/chgrp&gt;  
or available locally via: info '(coreutils) chgrp invocation'

October 2026 GNU coreutils 9.12

---

Document: chgrp(1) from coreutils 9.12-r4 (Chainguard OS)
Source: https://git.savannah.gnu.org/git/coreutils.git
