Problem: OpenDir: Permission denied (errno 13)

Problem: OpenDir: Permission denied (errno 13)

eftir Antti Immonen -
Number of replies: 3
When trying to add files to new coures happens this:

Warning: OpenDir: Permission denied (errno 13) in /home/users/wkasv03/public_html/moodle/lib/moodlelib.php on line 1736

Error: unable to read this directory! : /home/users/wkasv03/moodledata/4


Warning: Invalid argument supplied for foreach() in /home/users/wkasv03/public_html/moodle/lib/weblib.php on line 261


And when i try to follow the instructions, happens this:

Warning: OpenDir: Permission denied (errno 13) in /home/users/wkasv03/public_html/moodle/files/index.php on line 494

Warning: Supplied argument is not a valid Directory resource in /home/users/wkasv03/public_html/moodle/files/index.php on line 495

Warning: Supplied argument is not a valid Directory resource in /home/users/wkasv03/public_html/moodle/files/index.php on line 506


Should i contact the system administrator or can i fix it? And how? Thanks!
Average of ratings: -
In reply to Antti Immonen

Re: Problem: OpenDir: Permission denied (errno 13)

eftir Martin Dougiamas -
Mynd av Core developers Mynd av Documentation writers Mynd av Moodle HQ Mynd av Particularly helpful Moodlers Mynd av Plugin developers Mynd av Testers
Your system admin should be able to help, yes. You just have to make sure that the directory /home/users/wkasv03/moodledata/ is read-and-writeable by the web server process (eg apache or something like that)
In reply to Martin Dougiamas

Re: Problem: OpenDir: Permission denied (errno 13)

eftir Antti Immonen -
We have apache (Apache/1.3.22) and PHP Version 4.1.2.

And i have chmodded files and folders, maybe more than necessary.

Our system advisor is on christmas vacation, so i may bombard this forum for a while.. smile (I`m connected to university server and database from my home pc.)

This error appears when trying to add files to new course:
Warning: Invalid argument supplied for foreach() in /home/users/wkasv03/public_html/moodle/lib/weblib.php on line 261

But generally, I consider this application very good! And i hope you Martin find time for your doctoral dissertion.
In reply to Antti Immonen

Re: Problem: OpenDir: Permission denied (errno 13)

eftir Martin Dougiamas -
Mynd av Core developers Mynd av Documentation writers Mynd av Moodle HQ Mynd av Particularly helpful Moodlers Mynd av Plugin developers Mynd av Testers
It would be quickest to solve this if you can privately email me your URL and Moodle admin account.

Time is in very short supply at the moment. mixed