CHOWN(II) 8/5/73 CHOWN(II) NAME chown - change owner SYNOPSIS (chmod = 16.) sys chown; name; owner chown(name, owner) char *name; DESCRIPTION The file whose name is given by the null-terminated string pointed to by name has its owner changed to owner (a numerical user ID). Only the present owner of a file (or the super-user) may donate the file to another user. Changing the owner of a file removes the set-user-ID protection bit unless it is done by the super user. SEE ALSO chown (I), passwd (V) DIAGNOSTICS The error bit (c-bit) is set on illegal owner changes. From C a -1 returned value indicates error, 0 indicates success.