Fixed permission typo: mode_t is octal.