2015-01-30 15:17:58 -05:00
|
|
|
.Dd January 30, 2015
|
2015-01-31 08:20:02 -05:00
|
|
|
.Dt CHOWN 1
|
2015-01-31 14:37:03 -05:00
|
|
|
.Os sbase
|
2015-01-30 15:17:58 -05:00
|
|
|
.Sh NAME
|
|
|
|
.Nm chown
|
|
|
|
.Nd change file ownership
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Fl Rr
|
2015-02-09 16:25:58 -05:00
|
|
|
.Op Fl H
|
|
|
|
.Op Fl L
|
|
|
|
.Op Fl P
|
2015-01-30 15:17:58 -05:00
|
|
|
.Op Ar owner Op Ar :group
|
|
|
|
.Op Ar file ...
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2015-02-01 14:52:28 -05:00
|
|
|
changes the user or group ownership for the given
|
|
|
|
.Ar files .
|
2015-01-30 15:17:58 -05:00
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl R
|
2015-02-01 14:52:28 -05:00
|
|
|
Equivalent to \-r.
|
2015-01-30 15:17:58 -05:00
|
|
|
.It Fl r
|
2015-02-01 14:52:28 -05:00
|
|
|
Change directory ownership recursively.
|
2015-02-09 16:25:58 -05:00
|
|
|
.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).
|
2015-01-30 15:17:58 -05:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr chown 2
|