Quantcast
Channel: Installing and upgrading help
Viewing all articles
Browse latest Browse all 46829

Re: Repository folder permissions?

$
0
0
by Visvanath Ratnaweera.  

Hi

I guess you are talking about the http://docs.moodle.org/25/en/File_system_repository. Since this repository is read-only for Moodle, the web server just needs read permissions. Since the owner and the group of the apache process in Ubuntu are called www-data, and the whole moodledata tree is usually owned by www-data:www-data, it could look like this:
# ls -ld /path/to/moodledata/repository
drwx------ 9 www-data www-data 4096 Mai 19 01:27 /path/to/moodledata/repository

That is at a minimum. Since people just give 777 to moodledata anyway and set $CFG->directorypermissions = 0777; you could set 'repository' 777 as well.

Yes, if your moodledata is outside Apache DocumentRoot, which is /var/www in Ubuntu, you have satisfied the condition mentioned here: http://docs.moodle.org/25/en/Install#Create_the_.28moodledata.29_data_directory.

Viewing all articles
Browse latest Browse all 46829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>