Problem: OpenDir: Permission denied (errno 13)

Problem: OpenDir: Permission denied (errno 13)

av Antti Immonen -
Antal svar: 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!
Genomsnitt av betyg: -
Som svar till Antti Immonen

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

av Martin Dougiamas -
Bild på Core developers Bild på Documentation writers Bild på Moodle HQ Bild på Particularly helpful Moodlers Bild på Plugin developers Bild på 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)
Som svar till Martin Dougiamas

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

av 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.. leende (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.
Som svar till Antti Immonen

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

av Martin Dougiamas -
Bild på Core developers Bild på Documentation writers Bild på Moodle HQ Bild på Particularly helpful Moodlers Bild på Plugin developers Bild på 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. blandade