[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    chown(1B) manual page Table of Contents

Name

chown - change owner

Synopsis

/usr/ucb/chown [ -fR ] owner[.group] filename ...

Availability

SUNWscpu

Description

chown changes the owner of the filenames to owner. The owner may be either a decimal user ID (UID ) or a login name found in the password file. An optional group may also be specified. The group may be either a decimal group ID (GID ) or a group name found in the GID file.

Only the super-user can change owner, in order to simplify accounting procedures.

Options

-f
Do not report errors.
-R
Recursively descend into directories setting the ownership of all files in each directory encountered. When symbolic links are encountered, their ownership is changed, but they are not traversed.

Files

/etc/passwd
password file

See Also

chgrp(1) , chown(2) , group(4) , passwd(4)


Table of Contents