1
Question? Have you thought you make sure that the public can the mainfile.php and such are executable as well as writable? What I mean is like rather than chmod 666 chmod 777 on the mainfile and other prompted files during installation.
After you have accessed the admin panel it will tell you to chmod 444, do that and it still works.
After you have accessed the admin panel it will tell you to chmod 444, do that and it still works.