CHMOD error

Re: CHMOD error

by Steve Bilton -
Number of replies: 0
Hello Katy,

I think the problem your experiencing is not to do with setting the permissions of the lib.php file or inside the lib file on those lines.

(I think) What you need to do is find your moodledata folder (where a temp directory is trying to be create) and set its' permission to 0755 or if that doesn't quite work set the moodledata to 0777. If you do end up having to set the moodledata folder to 0777 change it back after you have done what you needed to do to 0755 or whatever it was set to originally.

You may need to set the permissions recursively too using (from outside the main moodle folder (unless you changed the location of moodledata))
" chmod -R 0755 moodledata "(or name of data file)

I'm pretty sure that will get around your problem.

The moodledata folder is normally kept outside the main moodle dir for security purposes.

Best of luck!

Steve