After I accidentally used the command chown /var/www/moodle
, I couldn’t change the root directory to be /var/www/moodle
, so that I can't install phpmyadmin
.
I have looked some suggestions but not very useful, I guess the permission has now changed, the other problem is I don't remember in which root directory I have used the above command.
What I get right now:
chroot: cannot change root directory to /var/www/moodle: Operation not permitted
I am using linux for the first time.