2015-01-30 20:17:58 +00:00
|
|
|
.Dd January 30, 2015
|
2015-01-31 13:20:02 +00:00
|
|
|
.Dt CHGRP 1
|
2015-01-30 20:17:58 +00:00
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm chgrp
|
|
|
|
.Nd change the file group ownership
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Fl R
|
|
|
|
.Ar groupname
|
|
|
|
.Op Ar file...
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2013-07-20 05:27:42 +00:00
|
|
|
sets the group id of the files specified by
|
2015-01-30 20:17:58 +00:00
|
|
|
.Ar file
|
2013-05-30 19:29:56 +00:00
|
|
|
to the gid of the group named
|
2015-01-30 20:17:58 +00:00
|
|
|
.Ar group.
|
2013-07-20 05:27:42 +00:00
|
|
|
If the
|
2015-01-30 20:17:58 +00:00
|
|
|
.Fl R
|
2013-07-20 05:27:42 +00:00
|
|
|
flag is specified, this process is recursively applied to
|
2013-05-30 19:29:56 +00:00
|
|
|
everything in
|
2015-01-30 20:17:58 +00:00
|
|
|
.Ar file .
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr chmod 1 ,
|
2015-01-31 13:43:27 +00:00
|
|
|
.Xr chown 1 ,
|
2015-01-30 20:17:58 +00:00
|
|
|
.Xr chmod 2 ,
|
2015-01-31 13:43:27 +00:00
|
|
|
.Xr chown 2 ,
|
2015-01-30 20:17:58 +00:00
|
|
|
.Xr getgrnam 3
|