chmod

chmod - change file mode

Description: int chmod(string filename, int mode);