Available in

(1) (1)/cs (1)/de (1)/es (1)/fi (1)/fr (1)/hu (1)/it (1)/ja (1)/ko (1)/nl (1)/pl (1)/pt (1)/ru (1)/tr (1)/zh_CN (1)/zh_TW (1b) (1m) (1posix) (2) (2)/de (2)/es (2)/fr (2)/ja (2)/ko (2)/nl (2)/pl (2)/ru (2freebsd) (3posix) (8)

TOC

chown(1M)               System Administration Commands               chown(1M)



NAME

       chown - change owner

SYNOPSIS

       /usr/ucb/chown [-f] [-R] owner [group] filename...

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 of the machine where the file is physically located
       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 tra-
             versed.

FILES

       /etc/passwd
             password file

ATTRIBUTES

       See attributes(5) for descriptions of the following attributes:


       +-----------------------------+-----------------------------+
       |      ATTRIBUTE TYPE         |      ATTRIBUTE VALUE        |
       +-----------------------------+-----------------------------+
       |Availability                 |SUNWcsu                      |
       +-----------------------------+-----------------------------+

SEE ALSO

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



SunOS 5.9                         18 May 1993                        chown(1M)

COMMENTS

Add your comment here. Whitespace and linebreaks are preserved. URLs are linked automatically.
CAPTCHA

No HTML allowed. URLs will be linked with nofollow attribute. Whitespace is preserved.