Thread:Project:Support desk/chmod permissions

Just wondering, is every file in MediaWiki supposed to have permissions set to 644 and is every directory supposed to be set to 755? After an upgrade to 1.20.4, it seems that all the permissions were set to 664 for some reason, so I had to mass change them back to 644. I'm wondering if that's how it should be (every file at 644, every folder at 755), or are there folders/files that should be set to something different? Thanks!

(Sidenote) Was it the MediaWiki installer that chmodded the files, or was it something to do with my host?