linux命令
// 改变文件权限
chmod 666 f.c
chmod a+x f.c
chmod u+x f.c
chmod g+x f.c
cmode o+x f.c
chown详解
int chown(const char *path, uid_t owner, gid_t group);
int fchown(int fd, uid_t owner, gid_t group);
int lchown(const char *path, uid_t owner, gid_t group);
chmod
int chmod(const char *path, mode_t mode);
int fchmod(int fd, mode_t mode);