Changes the user and group owner of the specified file or directory.
#include <sys/stat.h> int chown ( const char *path, uid_t owner, gid_t group );
(IN) Specifies the file or directory.
(IN) Specifies the ID of the user to make the owner of the file object.
(IN) Specifies the ID of the group to make the owner of the file object.
If successful, returns 0. Otherwise, returns -1 and sets errno to one of the following:
Setting a group owner has no effect on a NetWare file system.