CHOWN(8-BSD) RISC/os Reference Manual CHOWN(8-BSD)
NAME
chown - change owner
SYNOPSIS
/etc/chown [ -f -R ] owner[.group] file...
DESCRIPTION
chown changes the owner of the files to owner. The owner
may be either a decimal UID or a login name found in the
password file. 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.
In order to simplify accounting procedures, if the
_posix_chown_restricted kernel parameter is set to zero,
only the super-user can change the owner. See kopt(8).
Also, the group cannot be changed to a group of which the
current user is not a member.
No errors are reported when the -f (force) option is given.
When the -R option is given, chown recursively descends its
directory arguments setting the specified owner. When sym-
bolic links are encountered, their ownership is changed, but
they are not traversed.
FILES
/etc/passwd
SEE ALSO
chgrp(1) in the User's Reference Manual.
chown(2), group(4), passwd(4) in the Programmer's Reference
Manual.
Printed 11/19/92 Page 1