CHGRP
NAME
chgrp - change group ownership of files
SYNOPSIS
chgrp [options] group file...
POSIX options:
[-R]
GNU options (shortest form):
[-cfvR]
[--help] [--version] [--]
DESCRIPTION
chgrp
changes the group ownership of each given
file
to
group,
which can be either a group name or a numeric group ID.
POSIX OPTIONS
- -R
-
Recursively change the group ownership of directories and their contents.
(And continue even when errors are encountered.)
GNU OPTIONS
- -c, --changes
-
Verbosely describe the action for each
file
whose group actually changes.
- -f, --silent, --quiet
-
Do not print error messages about files whose group cannot be changed.
- -h, --no-dereference
-
Act on symbolic links themselves instead of what they point to.
Only available if the
lchown
system call is provided.
- -v, --verbose
-
Verbosely describe the action or non-action taken for every
file.
- -R, --recursive
-
Recursively change the group ownership of directories and their contents.
GNU STANDARD OPTIONS
- --help
-
Print a usage message on standard output and exit successfully.
- --version
-
Print version information on standard output, then exit successfully.
- --
-
Terminate option list.
ENVIRONMENT
The variables LANG, LC_ALL, LC_CTYPE and LC_MESSAGES have the
usual meaning.
CONFORMING TO
POSIX 1003.2 only requires the -R option. Use of other options
may not be portable.
NOTES
This page describes
chgrp
as found in the fileutils-3.16 package;
other versions may differ slightly. Mail corrections and additions to
aeb@cwi.nl, aw@mail1.bet1.puv.fi and ragnar@lightside.ddns.org.
Report bugs in the program to fileutils-bugs@gnu.ai.mit.edu.