Hi @tom.moon
Okay, so it seems the ownerships and permissions are not taking effect because the /opt/bitnami/moodle
is a symbolic link to /bitnami/moodle
. Could you please try the following commands instead?
1) Execute the commands configuring file permissions (notice the -LR option in chown):
sudo chown daemon:daemon -LR /opt/bitnami/moodle
sudo chmod -R g+rwX /opt/bitnami/moodle
sudo chown root /opt/bitnami/moodle/config.php
sudo chmod 640 /opt/bitnami/moodle/config.php
2) Execute the following commands to assert file permissions were configured properly:
ls -la /opt/bitnami/moodle/
ls -la /opt/bitnami/moodle/blocks/
They should look something like this now:
$ ls -la /opt/bitnami/moodle/ | head
total 1064
drwxrwxr-x 57 daemon daemon 4096 Jan 21 10:42 .
drwxr-xr-x 7 root root 4096 Jan 21 10:37 ..
drwxrwxr-x 13 daemon daemon 4096 Jan 16 15:58 admin
drwxrwxr-x 5 daemon daemon 4096 Jan 16 15:58 analytics
drwxrwxr-x 17 daemon daemon 4096 Jan 16 15:58 auth
drwxrwxr-x 6 daemon daemon 4096 Jan 16 15:58 availability
-rw-rw-r-- 1 daemon daemon 7380 Jan 16 15:58 babel-plugin-add-module-to-define.js
drwxrwxr-x 8 daemon daemon 4096 Jan 16 15:58 backup
drwxrwxr-x 8 daemon daemon 4096 Jan 16 15:58 badges
...
$ ls -la /opt/bitnami/moodle/blocks/ | head
total 244
drwxrwxr-x 47 daemon daemon 4096 Jan 16 15:58 .
drwxrwxr-x 57 daemon daemon 4096 Jan 21 10:42 ..
drwxrwxr-x 6 daemon daemon 4096 Jan 16 15:58 activity_modules
drwxrwxr-x 7 daemon daemon 4096 Jan 16 15:58 activity_results
drwxrwxr-x 6 daemon daemon 4096 Jan 16 15:58 admin_bookmarks
drwxrwxr-x 6 daemon daemon 4096 Jan 16 15:58 badges
drwxrwxr-x 6 daemon daemon 4096 Jan 16 15:58 blog_menu
drwxrwxr-x 6 daemon daemon 4096 Jan 16 15:58 blog_recent
drwxrwxr-x 6 daemon daemon 4096 Jan 16 15:58 blog_tags
Notice the 3rd & 4th column (daemon daemon
)
Could you please give it a try? I will notify the documentation team about this 
Best regards,
Jose Antonio Carmona
Was my answer helpful? Click on 