Hi, I'm getting an error message "invalid permissions detected when trying to create a directory. Turn debugging on for further details."
Originally, the permissions/ownership for both moodle files and moodledata folder are set to how Moodle recommends (https://docs.moodle.org/34/en/Security_recommendations). So getting this error is already strange.
Here's what I did:
1. Ownership of moodledata/temp folder was apache for some reason. /Changed it to root and It works again. But one week later, the error returns!
2. Changed the entire moodledata/temp folder to 777. And it works again. However, one week after that the error returns!
3. I'm on the third week. I changed the entire moodledata folder to 777. It works again now.
But this shouldn't be happening in the first place. I shouldn't have to have moodledata at 777. I definitely am required to change this for security reasons.
Has anyone had this problem? Is there something in moodle that changes permission requirements?
Much appreciated. Regards.