Respecting the file's permission mode

None of the changes to this file is correct.