(Solved) Fatal Error: $Cfg->Dataroot Is Not Writable, Admin Has To Fix Directory Permissions! Exiting

1 min read

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

Solution : 

How to allow your moodle data write permission.
Please follow these steps
For that please go to /var/www/moodledata or if any path where you defined the moodle data then just paste this command

chmod 0777 /var/moodledata
chown www-data:www-data /var/moodledata

moodle folder permissions
moodledata not writable
moodle parent directory is not writable
dataroot location is not secure
moodle installation
moodle dataroot
moodledata permissions

Total Execution Time content: 0.00020276705423991 Mins Total Execution Time social : 0.0000 Mins

Read Next

Total Execution Time red next: 0.0000 Mins

Search Now