Intchmod (const char *, mode_t)/* file mode * // * read, write, execute/search by owner */# assets/* [xsi] rwx mask for owner */# defines_irusr0000400/* [xsi] r for owner */# defines_iwusr0000200/* [xsi] W for owner */# defines_ixusr0000100/* [xsi] X for owner * // * read, write, execute/search by Group */# defines_irwxg0000070/* [xsi] rwx mask for group */# defines_irkg0000040/* [xsi] r for group */# defines_iwkg0000020/* [xsi] W for group */# defines_ixkg0000010/* [xsi] X for group * // * read, write, execute/search by others */# defines_irwxo0000007/* [xsi] rwx mask for other */# defines_iroth0000004/* [xsi] r for other */# defines_iwoth0000002/* [xsi] for other */# defines_ixoth1_001/* [xsi] X for other */# defines_isuid0004000/* [xsi] Set User ID on execution */# defines_isgid0002000/* [xsi] Set Group ID on execution */# defines_isvtx0001000/* [xsi] Directory restrcted Delete * // modify the permission of a file chmod ([self filepath] utf8string], s_irusr | s_iwusr | s_irgrp | s_iwgrp | s_iroth | s_iwoth );