chmod -- change file mode
Attempts to change the mode of the file specified by filename to that given in mode.
Returns true on success and false otherwise.
See also chown() and chgrp().