After recently setting up a Moodle install (hosted on IIS on Server 2008 R2) with SSO (LDAP server based (good old Microsoft AD) with NTLM looking after things) we found that any new users were getting this error message appearing. Fatal error: $CFG->dataroot is not writable, admin has to fix directory permissions! Exiting. The simple solution is to this problem is… Read more