2015-01-30 15:17:58 -05:00
|
|
|
.Dd January 30, 2015
|
2015-01-31 08:20:02 -05:00
|
|
|
.Dt CHGRP 1
|
2015-01-31 14:37:03 -05:00
|
|
|
.Os sbase
|
2015-01-30 15:17:58 -05:00
|
|
|
.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 01:27:42 -04:00
|
|
|
sets the group id of the files specified by
|
2015-01-30 15:17:58 -05:00
|
|
|
.Ar file
|
2013-05-30 15:29:56 -04:00
|
|
|
to the gid of the group named
|
2015-01-30 15:17:58 -05:00
|
|
|
.Ar group.
|
2013-07-20 01:27:42 -04:00
|
|
|
If the
|
2015-01-30 15:17:58 -05:00
|
|
|
.Fl R
|
2013-07-20 01:27:42 -04:00
|
|
|
flag is specified, this process is recursively applied to
|
2013-05-30 15:29:56 -04:00
|
|
|
everything in
|
2015-01-30 15:17:58 -05:00
|
|
|
.Ar file .
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr chmod 1 ,
|
2015-01-31 08:43:27 -05:00
|
|
|
.Xr chown 1 ,
|
2015-01-30 15:17:58 -05:00
|
|
|
.Xr chmod 2 ,
|
2015-01-31 08:43:27 -05:00
|
|
|
.Xr chown 2 ,
|
2015-01-30 15:17:58 -05:00
|
|
|
.Xr getgrnam 3
|