int fchown(int fd, uid_t owner, gid_t group);
Changes the owner to owner and group to group for the file handle fd. Returns zero on success, or the negation of the error code on error.
chown, lchown