Re: Lockups with 500 error is caused by permissions [message #168861 is a reply to message #168858] |
Tue, 30 July 2013 18:57 |
|
Parrot
Messages: 32 Registered: July 2013 Location: US
Karma:
|
Member |
|
|
Thanks for your reply. Using 305RC1 (new install, not upgrade), it's behaving differently than you indicated.
Quote:All files are 644 and all directories are 755. This is how FUDforum did things during the install. Not sure how your permissions got messed up. As I read the lines of code you mentioned, they would only get called in certain circumstances.
Let's look at the "Lock" and "Unlock" function, starting with all folders 755 and all files 644:
--- (a)pressing Unlock changes some folders to 711. It also changes a few files (.htaccess) to 666.
--- (b) pressing Lock changes most folders to 777 except for a few changed to or left at 711. Many files become 666.
Of course that crashes the forum and requires manually resetting permissions to 755/644 to get it to work again.
Until the experts (you) figure this out, can I edit files to prevent setting 777?
Questions:
--- Any reason why I shouldn't edit compiler.inc and change 777 to 755 and 666 to 644?
--- Any other files that set permissions?
Thanks.
|
|
|