Fatal error: $CFG->dataroot is not writable, admin has to fix directory permissions! Exiting.

Fatal error: $CFG->dataroot is not writable, admin has to fix directory permissions! Exiting.

by Shreyas Kharat -
Number of replies: 2
Fatal error: $CFG->dataroot is not writable, admin has to fix directory permissions! Exiting.
 
I get this error on moodle site when given Moodle database on remotely accessible.
 
I have read & write permissions on Moodledata folder & database unsder program data.
 
Does any have this same issue.
Average of ratings: -
In reply to Shreyas Kharat

Re: Fatal error: $CFG->dataroot is not writable, admin has to fix directory permissions! Exiting.

by Fiona MacAlister -

Hi Shreyas

You don't say what your operating system is but, if it's a Linux setup, make sure that SELinux is disabled.

In reply to Fiona MacAlister

Re: Fatal error: $CFG->dataroot is not writable, admin has to fix directory permissions! Exiting.

by Shreyas Kharat -

Hi Fiona,

I am using Windows 2008 Standard Edition.