Folder Permission Problem

Folder Permission Problem

mattia boschi發表於
Number of replies: 1

Hi everyone,

sorry in advance for my english.. I'm having some problem after an installation of Moodle 2.1.3 on a virtual machine with Ubuntu server on it. During the installation I got some problem of writing permission but I didn't know where the script wanted to write so I stupidly changed the owner of the "var" folder (with -R) and the installation went ok (I created accounts and set permissions).. then, because of ssh problems I had to change back the owner of the "var" folder (with -R) and now (obviously) when I try to use moodle I get a 500 Internal Server Error...

So I was wondering if there is a way to know which directories I must change owners and/or permissions to in order to make my moodle work again.. 

I know I did something really stupid but that's it.. I'll really appreciate any kind of help..

Thanks in advance!

評比平均分數: -
In reply to mattia boschi

Re: Folder Permission Problem

Visvanath Ratnaweera發表於
Particularly helpful Moodlers的相片 Translators的相片
> During the installation I got some problem of writing permission but I didn't know where the script wanted to write

Lessen 1: Read the error messages! It definitely said where to change, what.

> so I stupidly changed the owner of the "var" folder (with -R) and the installation went ok

Ok for the instant, you mean?
;-(

> because of ssh problems I had to change back the owner of the "var" folder (with -R) and now (obviously) when I try to use moodle I get a 500 Internal Server Error...

It is not so obvious to me. I would read apache error logs first.

> So I was wondering if there is a way to know which directories I must change owners and/or permissions to in order to make my moodle work again..

The most critical parameters are in $moodle/config.php.

> I know I did something really stupid but that's it..

No, it is not. Learn the Free Software Song by heart: http://www.gnu.org/music/free-software-song.html
微笑