sbase/chgrp.1

40 lines
736 B
Groff
Raw Normal View History

.Dd January 30, 2015
.Dt CHGRP 1
.Os sbase
.Sh NAME
.Nm chgrp
.Nd change the file group ownership
.Sh SYNOPSIS
.Nm
.Op Fl R
.Op Fl H
.Op Fl L
.Op Fl P
.Ar groupname
.Op Ar file...
.Sh DESCRIPTION
.Nm
sets the group id of the files specified by
.Ar file
to the gid of the group named
.Ar group.
.El
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl R
Change file group ownership recursively.
.It Fl H
Only dereference symbolic links that are passed as command line arguments when
recursively traversing directories.
.It Fl L
Always dereference symbolic links while recursively traversing directories.
.It Fl P
Don't dereference symbolic links (default).
.Ar file .
.Sh SEE ALSO
.Xr chmod 1 ,
.Xr chown 1 ,
.Xr chmod 2 ,
.Xr chown 2 ,
.Xr getgrnam 3