Annotation of researchv10dc/dist/man/v4/man2/chown.2, revision 1.1.1.1

1.1       root        1: .th CHOWN II 8/5/73
                      2: .sh NAME
                      3: chown \*- change owner
                      4: .sh SYNOPSIS
                      5: (chmod = 16.)
                      6: .br
                      7: .ft B
                      8: sys chown; name; owner
                      9: .s3
                     10: chown(name, owner)
                     11: .br
                     12: char *name;
                     13: .ft R
                     14: .sh DESCRIPTION
                     15: The file
                     16: whose name is given by the null-terminated string pointed
                     17: to by
                     18: .it name
                     19: has its owner changed to
                     20: .it owner
                     21: (a numerical user ID).
                     22: Only the present owner of a file (or the super-user) may
                     23: donate the file to another user.
                     24: Changing the owner of a file
                     25: removes the set-user-ID
                     26: protection bit
                     27: unless it is done by the super user or
                     28: the real user ID is the new owner.
                     29: .sh "SEE ALSO"
                     30: chown(I), uids(V)
                     31: .sh DIAGNOSTICS
                     32: The error bit (c-bit) is set
                     33: on illegal owner changes.
                     34: From C a \*-1 returned value indicates error,
                     35: 0 indicates success.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.