CHOWN(8) COMMAND REFERENCE CHOWN(8)
NAME
chown - change owner
SYNOPSIS
/etc/chown [ -f ] [ -l ] owner filename ...
DESCRIPTION
Chown changes the owner of filename to owner. The owner may
be either a decimal UID or a login name found in the
password file.
Only the super-user can change owner, in order to simplify
as yet unimplemented accounting procedures.
OPTIONS
-f Force. No error messages about nonexistent files or
files that can not have ownership changed.
-l Follow symbolic links. Normally, the ownership of the
symbolic link itself is changed. The -l option causes
chown to follow the symbolic links and change the
ownership of the file pointed to.
EXAMPLES
The following invocation will change the owner of the file
temp to root:
/etc/chown root temp
FILES
/etc/passwd the password file
RETURN VALUE
[NO_ERRS] Command completed without error.
[USAGE] Incorrect command line syntax. Execution
terminated.
[NP_ERR] An error occurred that was not a system
error. Execution terminated.
[P_WARN] A system error occurred. Execution continues.
See intro(2) for more information on system
errors.
SEE ALSO
chgrp(1), chmod(1), ln(1), chown(2), group(5), passwd(5).
Printed 10/17/86 1
%%index%%
na:72,56;
sy:128,217;
de:345,373;
op:718,461;
ex:1179,176;
fi:1355,103;
rv:1458,509;
se:1967,184;
%%index%%000000000131