Fix some file permissions