diff options
| -rw-r--r-- | bin/chmod/chown.8 | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/bin/chmod/chown.8 b/bin/chmod/chown.8 index b13e23dea85..02197678754 100644 --- a/bin/chmod/chown.8 +++ b/bin/chmod/chown.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: chown.8,v 1.2 2000/07/31 01:24:56 pjanzen Exp $ +.\" $OpenBSD: chown.8,v 1.3 2000/11/10 13:01:29 aaron Exp $ .\" .\" Copyright (c) 1990, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -59,7 +59,7 @@ .Ar :group .Ar file Op Ar ... .Sh DESCRIPTION -.Nm chown +.Nm sets the user ID and/or the group ID of the specified files. .Pp The options are as follows: @@ -94,7 +94,7 @@ options are mutually exclusive. .Pp The .Fl H , -.Fl L +.Fl L , and .Fl P options are ignored unless the @@ -125,15 +125,20 @@ may be either a numeric group ID or a group name. If a group name is also a numeric group ID, the operand is used as a group name. .Pp -The ownership of a file may only be altered by a superuser for -obvious security reasons. +Only the superuser is permitted to change the owner of a file. .Pp The -.Nm chown +.Nm utility exits 0 on success or >0 if an error occurred. +.Sh SEE ALSO +.Xr chgrp 1 , +.Xr find 1 , +.Xr chown 2 , +.Xr fts 3 , +.Xr symlink 7 .Sh COMPATIBILITY Previous versions of the -.Nm chown +.Nm utility used the dot .Pq Sq \&. character to distinguish the group name. @@ -141,13 +146,7 @@ This has been changed to be a colon .Pq Sq \&: character so that user and group names may contain the dot character. -.Sh SEE ALSO -.Xr chgrp 1 , -.Xr find 1 , -.Xr chown 2 , -.Xr fts 3 , -.Xr symlink 7 .Sh STANDARDS The -.Nm chown +.Nm command is expected to be POSIX 1003.2 compliant. |
