When trying to access certain pages in Moodle, I'm getting the error:
Invalid permissions detected when trying to create a directory. Turn debugging on for further details.
I get this message under the Site Administration --->Advanced features
In my config.php file, my $CFG->directorypermissions = 0750;
In the www/var/moodle directory, the directories are:
755 root root
and the files are:
644 root root
In the www/var/moodledata directory, the directories are:
755 www-data www-data
and the files are:
644 www-data www-data
Should the $CFG->directorypermissions be set to 750 as it is in my config.php file?
I get error when I try to install plugins and then I have to go to the moodle directory and change the permissions to 777 in order to install plugins.
Can someone please advise what's wrong?
Moodle is ran on our virtual server.
We are running Moodle 3.01