install correct aliases file
[unix-history] / usr / src / usr.sbin / chown / chown.8
index 943a66c..5ae1a53 100644 (file)
@@ -2,18 +2,18 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)chown.8     4.1 (Berkeley) %G%
+.\"    @(#)chown.8     6.3 (Berkeley) %G%
 .\"
 .\"
-.TH CHOWN 8 "4/3/81"
+.TH CHOWN 8 ""
 .UC 4
 .SH NAME
 .UC 4
 .SH NAME
-chown, chgrp \- change owner or group
+chown \- change owner
 .SH SYNOPSIS
 .SH SYNOPSIS
-.B /etc/chown
-owner file ...
-.PP
-.B /etc/chgrp
-group file ...
+.B chown
+[
+.B \-Rf
+]
+owner[.group] file ...
 .SH DESCRIPTION
 .I Chown
 changes the owner of the
 .SH DESCRIPTION
 .I Chown
 changes the owner of the
@@ -22,21 +22,23 @@ to
 .IR owner .
 The owner may be either a decimal UID or
 a login name found in the password file.
 .IR owner .
 The owner may be either a decimal UID or
 a login name found in the password file.
-.PP
-.I Chgrp
-changes the group-ID of the
-.I files
-to
-.IR group .
+An optional group may also be specified.
 The group may be either a decimal GID or
 a group name found in the group-ID file.
 .PP
 The group may be either a decimal GID or
 a group name found in the group-ID file.
 .PP
-Only the super-user can change owner or group,
-in order to simplify as yet unimplemented accounting procedures.
-.SH FILES
-/etc/passwd
-.br
-/etc/group
+Only the super-user can change owner,
+in order to simplify accounting procedures.
+No errors, except for usage errors, are reported when the
+.B \-f
+(force) option is given.
+.PP
+When the
+.B \-R
+option is given, 
+.I chown
+recursively descends its directory arguments
+setting the specified owner.
+When symbolic links are encountered, their ownership is changed,
+but they are not traversed.
 .SH "SEE ALSO"
 .SH "SEE ALSO"
-chown(2),
-passwd(5), group(5)
+chgrp(1), chown(2)