#include
int chown (const char *path, uid_t owner,
gid_t group);
int fchown (int fildes, uid_t owner,
int chmod (const char *path, mode_t mode);
int fchmod (int fildes, mode_t mode);