Correct permissions of file.