Thread:Project:Support desk/chmod permissions/reply

For LocalSettings.php, 640 would be better (with the right setup that is enough).

I have never heard of the installer changing directory and file permissions. I would think that was someone else, maybe your hoster.