CentOS 8 Laravel Erlaubnis abgelehnt
sudo find ./storage -type f -exec chmod 666 {} \;
sudo find ./storage -type d -exec chmod 777 {} \;
Jaskaran
sudo find ./storage -type f -exec chmod 666 {} \;
sudo find ./storage -type d -exec chmod 777 {} \;
#for Centos 8 (stream)
setenforce 0
#new installations
cd /var/www/html/storage
mkdir -pv framework/views app framework/sessions framework/cache framework/cache/data
#new and existing
sudo chown -R apache:apache /var/www/html/ #ubutu is www-data:www-data
sudo find /var/www/html -type f -exec chmod 664 {} \;
sudo find /var/www/html -type d -exec chmod 755 {} \; #neve set to 777, that's evil!
#verify
ls -ld storage