chown.8 (416ba5c74546f32a993436a99516d35008e9f384) | chown.8 (bb577bb6998be6b5a4853c203c8308bc9b84be60) |
---|---|
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 20, 2015 | 31.Dd January 7, 2017 |
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 fhvx --- 90 unchanged lines hidden (view full) --- 130The 131.Ar group 132may be either a numeric group ID or a group name. 133If a group name is also a numeric group ID, the operand is used as a 134group name. 135.Pp 136The ownership of a file may only be altered by a super-user for 137obvious security reasons. | 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 fhvx --- 90 unchanged lines hidden (view full) --- 130The 131.Ar group 132may be either a numeric group ID or a group name. 133If a group name is also a numeric group ID, the operand is used as a 134group name. 135.Pp 136The ownership of a file may only be altered by a super-user for 137obvious security reasons. |
138.Pp 139If 140.Nm 141receives a 142.Dv SIGINFO 143signal (see the 144.Cm status 145argument for 146.Xr stty 1 ) , 147then the current filename as well as the old and new file owner and group 148are displayed. |
|
138.Sh EXIT STATUS 139.Ex -std 140.Sh COMPATIBILITY 141Previous versions of the 142.Nm 143utility used the dot (``.'') character to distinguish the group name. 144This has been changed to be a colon (``:'') character so that user and 145group names may contain the dot character. --- 26 unchanged lines hidden --- | 149.Sh EXIT STATUS 150.Ex -std 151.Sh COMPATIBILITY 152Previous versions of the 153.Nm 154utility used the dot (``.'') character to distinguish the group name. 155This has been changed to be a colon (``:'') character so that user and 156group names may contain the dot character. --- 26 unchanged lines hidden --- |