LauraMendez
0
Q:

laravel folder permission

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
2
cd [..LARAVEL PROJECT ROOT]
sudo find . -type f -exec chmod 644 {} \;
sudo find . -type d -exec chmod 755 {} \;
sudo chmod -R 777 ./storage
sudo chmod -R 777 ./bootstrap/cache/
1
cd /path/to/root;
sudo chmod -R 777 ./ 
sudo chown -R www-data:www-data ./
sudo usermod -a -G www-data ubuntu
sudo find ./ -type f -exec chmod 644 {} \;
sudo find ./ -type d -exec chmod 755 {} \;
sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache
1

New to Communities?

Join the community