1CHOWN(2) System Calls Manual CHOWN(2)
2
3
4
6 chown - change owner and group of a file
7
9 chown(name, owner, group)
10 char *name;
11
13 The file whose name is given by the null-terminated string pointed to
14 by name has its owner and group changed as specified. Only the super-
15 user may execute this call, because if users were able to give files
16 away, they could defeat the (nonexistent) file-space accounting proceā
17 dures.
18
20 chown(1), passwd(5)
21
23 Zero is returned if the owner is changed; -1 is returned on illegal
24 owner changes.
25
27 (chown = 16.)
28 sys chown; name; owner; group
29
30
31
32 CHOWN(2)