Answers for "how to give permission to storage in laravel in ubuntu"

PHP
2

proper permission webserver laravel

sudo chmod -R 777 path/to/root
sudo chown -R www-data:www-data /path/to/root
sudo usermod -a -G www-data ubuntu
sudo find /path/to/root -type f -exec chmod 644 {} \;
sudo find /path/to/root -type d -exec chmod 755 {} \;
sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache
Posted by: Guest on April-10-2020
2

laravel file permissions

sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache
Posted by: Guest on September-09-2020

Code answers related to "how to give permission to storage in laravel in ubuntu"

Browse Popular Code Answers by Language