Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel folder permission

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #folder #permission
ADD COMMENT
Topic
Name
2+7 =