mooledata - incorrect permissions

mooledata - incorrect permissions

by Paul P -
Number of replies: 2

Hi,

I accidentally ran "chmod -R 0777 moodledata" and now when I navigate to Site Administration I get HTTP Error 500.

Does anyone know how to restore the moodledata permissions to the correct settings?

Thanks in advanced.

Average of ratings: -
In reply to Paul P

Re: mooledata - incorrect permissions

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

If that's what you did then I very much doubt it's the cause of the Error 500. That would make it read/write by everyone and that should 'just work'. 

The next step is to find the error in your web server's error log and establish what it's complaining about. 

The only slight possibility is if you are running SeLinux (that would be on CentOS or one of its friends) which causes all sorts of weirdness.

In reply to Howard Miller

Re: mooledata - incorrect permissions

by Paul P -

Thanks...you could be right as it is intermittent now. I will check the logs.

Also it is sitting on Windows IIS.