Other
Permission issue on ubuntu
In this article, I will show you how we can resolve the permission issue on ubuntu Linux, most of the time when we install LAMP environment LINUX, APACHE, MYSQL, PHP MY ADMIN on ubuntu it starts giving us permission issue. If you want to install a LAMP environment click on the URL.
Now I will tell how to get ride of those permission issue on ubuntu just try the below command.
sudo chmod -R 777 /var/www/html
the above command will give read-write and delete permission to each and every file which is under your HTML folder.
If the above command will not work then try the below command.
cd /var/www
after that
chown -R www-data:www-data *
then after
find . -type d -exec chmod 775 {} \;
after that use that last below command
find . -type f -exec chmod 664 {} \;
I hope the above command will resolve your issue, if the issue resolved please give me 5 stars.