Howdy yall,
for what it is worth, my own experiences with CMS's my permissions
end up as follows:
Protected Files 440 or 400
Files 640
Directories 750
"Special" Directories 770
I have found that these are the --> least <-- permissions I can allow and still have a functioning PHP Powered site.
Your mileage may vary.
Mostly, I test them in ibays that have admin R/W permissions only, with executable content and web access.
One simple change I make (when possible) is to move the Database User, Database Name and Database Password out of the main***etc.php
file to a directory outside of the web root.
Joe
PS: good thread, BTW!