2015-02-17 11:41:58 -05:00
|
|
|
.Dd Feburary 17, 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
|
2015-02-17 11:41:58 -05:00
|
|
|
.Op Fl h
|
|
|
|
.Oo
|
|
|
|
.Fl R
|
|
|
|
.Op Fl H | L | P
|
|
|
|
.Oc
|
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
|
2015-02-17 11:41:58 -05:00
|
|
|
.It Fl h
|
|
|
|
Change the user ID and/or group ID of the symlink itself. This flag cannot be used
|
|
|
|
with
|
|
|
|
.Op Fl 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
|
2015-02-17 11:41:58 -05:00
|
|
|
.Sh STANDARDS
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility is compliant with the
|
|
|
|
.St -p1003.1-2008
|
|
|
|
specification.
|