Best practice forum (Archived)

Can not create local directories - please verify permissions in dataroot

 
? ?
Can not create local directories - please verify permissions in dataroot
von ? ? – Tuesday, 14 January 2014, 1:37 PM
 

Hi there,

I'm getting this error when students are trying to upload documents to our online learning system.

I'm guessing it's a permissions error, but it's only just started happening, and we've been using this system for 1yr+ with no challenges.

Any ideas?

Thanks in advance

? ?
Re: Can not create local directories - please verify permissions in dataroot
von ? ? – Wednesday, 15 January 2014, 10:01 PM
 

Hi Kerry,

You'll need to get a sysadmin to check the permissions on the $CFG->dataroot directory - something must have changed there.

The webserver user (www-data or apache on most Linux servers, IUSR_xxx on Windows servers) needs to have write permissions in every folder under the dataroot.

Easter Island / Rapa Nui
Re: Can not create local directories - please verify permissions in dataroot
von Russell England – Monday, 20 January 2014, 3:54 AM
 

It might be because of a file lock introduced in Moodle 2.5

"Cannot upload files in certain cloud hosting environments" - https://tracker.moodle.org/browse/MDL-43390

The above was mentioned in "Can not create local file pool file, please verify permissions in dataroot and available disk space" - https://tracker.moodle.org/browse/MDL-43160