chown.8 (0227791b40a6936310e1dd376b0883b540fec0c0) chown.8 (1901b124620ea354267e8b765e7d6a9bb3967755)
1.\" Copyright (c) 1990, 1991, 1993, 1994
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 14 unchanged lines hidden (view full) ---

23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" @(#)chown.8 8.3 (Berkeley) 3/31/94
29.\" $FreeBSD$
30.\"
1.\" Copyright (c) 1990, 1991, 1993, 1994
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 14 unchanged lines hidden (view full) ---

23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" @(#)chown.8 8.3 (Berkeley) 3/31/94
29.\" $FreeBSD$
30.\"
31.Dd April 25, 2003
31.Dd February 21, 2010
32.Dt CHOWN 8
33.Os
34.Sh NAME
35.Nm chown
36.Nd change file owner and group
37.Sh SYNOPSIS
38.Nm
32.Dt CHOWN 8
33.Os
34.Sh NAME
35.Nm chown
36.Nd change file owner and group
37.Sh SYNOPSIS
38.Nm
39.Op Fl fhv
39.Op Fl fhvx
40.Oo
41.Fl R
42.Op Fl H | Fl L | Fl P
43.Oc
44.Ar owner Ns Op : Ns Ar group
45.Ar
46.Nm
40.Oo
41.Fl R
42.Op Fl H | Fl L | Fl P
43.Oc
44.Ar owner Ns Op : Ns Ar group
45.Ar
46.Nm
47.Op Fl fhv
47.Op Fl fhvx
48.Oo
49.Fl R
50.Op Fl H | Fl L | Fl P
51.Oc
52.No : Ns Ar group
53.Ar
54.Sh DESCRIPTION
55The

--- 36 unchanged lines hidden (view full) ---

92Cause
93.Nm
94to be verbose, showing files as the owner is modified.
95If the
96.Fl v
97flag is specified more than once,
98.Nm
99will print the filename, followed by the old and new numeric user/group ID.
48.Oo
49.Fl R
50.Op Fl H | Fl L | Fl P
51.Oc
52.No : Ns Ar group
53.Ar
54.Sh DESCRIPTION
55The

--- 36 unchanged lines hidden (view full) ---

92Cause
93.Nm
94to be verbose, showing files as the owner is modified.
95If the
96.Fl v
97flag is specified more than once,
98.Nm
99will print the filename, followed by the old and new numeric user/group ID.
100.It Fl x
101File system mount points are not traversed.
100.El
101.Pp
102The
103.Fl H ,
104.Fl L
105and
106.Fl P
107options are ignored unless the

--- 33 unchanged lines hidden (view full) ---

141This has been changed to be a colon (``:'') character so that user and
142group names may contain the dot character.
143.Pp
144On previous versions of this system, symbolic links did not have
145owners.
146.Pp
147The
148.Fl v
102.El
103.Pp
104The
105.Fl H ,
106.Fl L
107and
108.Fl P
109options are ignored unless the

--- 33 unchanged lines hidden (view full) ---

143This has been changed to be a colon (``:'') character so that user and
144group names may contain the dot character.
145.Pp
146On previous versions of this system, symbolic links did not have
147owners.
148.Pp
149The
150.Fl v
149option is non-standard and its use in scripts is not recommended.
151and
152.Fl x
153options are non-standard and their use in scripts is not recommended.
150.Sh SEE ALSO
151.Xr chgrp 1 ,
152.Xr find 1 ,
153.Xr chown 2 ,
154.Xr fts 3 ,
155.Xr symlink 7
156.Sh STANDARDS
157The
158.Nm
159utility is expected to be
160.St -p1003.2
161compliant.
162.Sh HISTORY
163A
164.Nm
165utility appeared in
166.At v1 .
154.Sh SEE ALSO
155.Xr chgrp 1 ,
156.Xr find 1 ,
157.Xr chown 2 ,
158.Xr fts 3 ,
159.Xr symlink 7
160.Sh STANDARDS
161The
162.Nm
163utility is expected to be
164.St -p1003.2
165compliant.
166.Sh HISTORY
167A
168.Nm
169utility appeared in
170.At v1 .