11/3/71 | SYS_CHOWN (II) |
| |
NAME |
chown -- change owner of file |
SYNOPSIS |
sys chown; name; owner / chown = 16. |
DESCRIPTION |
The file whose name is given by the null--terminated stringpointed to by name has its owner changed to owner. Only |
| |
| the present owner of a file (or the super--user) may donatethe file to another user. Also, one may not change the owner of a file with the set--user--ID bit on, otherwise onecould create Trojan Horses able to misuse other's files. |
| |
| |
FILES |
|
SEE_ALSO |
/etc/uids has the mapping between user names and usernumbers. |
| |
| |
DIAGNOSTICS |
The error bit (c--bit) is set on illegal owner changes. |
BUGS |
|
OWNER |
ken, dmr |
| |
| |