500 Access denied errror while installing moodle open-source learning management system via Ubuntu 20.04.LTS

mike_linux

Active Member
Joined
Nov 20, 2020
Messages
137
Reaction score
67
Credits
1,287
Hi guys! Hope you’re doing fine. I am about to install via my Ubuntu 20.04.LTS system Moodle as a teacher which is a free open-source learning management system written in PHP (and distributed under GNU GPL), to upload exercises and other stuff for my students. To achieve the installation of this platform I have to upload at first all the files from here (and also do some changes in moodle/lib/dml/mysqli_native_moodle_database.php necessary to work for my class) onto the webspace of the school (which they have provided to us). To bypass the 500 permission denied error I have enabled in vsftpd.conf the write access as mentioned here. Nevertheless, when the lib folder gets reached to for uploading (i.e. moddle/lib/), I receive many 500 permission denied errors, despite I have given full access via $sudo chmod 777 -R moodle to the moodle folder and done all the above steps. Why does this happen and what can I do to upload the remaining files? THX.
 


This happens because there is a directory higher in the tree where you do not have execute permission. If a parent directory has no execute permission for some user, then that user cannot stat any sub-directories regardless of the permissions on those sub-directories. It's better to use groups to manage permissions than give to give directories 777 permission
 
This happens because there is a directory higher in the tree where you do not have execute permission. If a parent directory has no execute permission for some user, then that user cannot stat any sub-directories regardless of the permissions on those sub-directories. It's better to use groups to manage permissions than give to give directories 777 permission
Hi @Lord Boltar I believe you mean user-groups right? If I create them, then how can I apply them to filezilla?
 
By going into Users&Groups and add the function
2.png
 
Ok But which function do you mean exactly? BTW I have the same permission denied problem on Windows 10 (I have tried that out, but based on your explanation, I conclude, that it doesn't matter which OS you are using).
You should not need that for FileZilla you should get prompted for your sudo password - add Moodle to the groups
 
You won't like it, but my advice is to just get some cheap hosting and a domain name. Get hosting that has Softaculous and you can install Moodle in a sub-directory, or even in the public_html directory. Installation will take three minutes, upgrade automatically, and rotate backups on the schedule you tell it to.
 
You won't like it, but my advice is to just get some cheap hosting and a domain name. Get hosting that has Softaculous and you can install Moodle in a sub-directory, or even in the public_html directory. Installation will take three minutes, upgrade automatically, and rotate backups on the schedule you tell it to.
Your idea is not bad, but I don't want to spend extra money for state facilities which have enough money to purchase additional space. Nevertheless, I will keep in mind your solution for my personal purposes :)
 

Members online

No members online now.

Latest posts

Top