Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo chown -R www-data:www-data /path/to/your/laravel/root/directory
- sudo usermod -a -G www-data<user>
- sudo find /path/to/your/laravel/root/directory -type f -exec chmod 644 {} \;
- sudo find /path/to/your/laravel/root/directory -type d -exec chmod 755 {} \;
- cd /var/www/html/laravel (direct to current laravel directory)
- sudo chown -R $USER:www-data .
- sudo find . -type f -exec chmod 664 {} \;
- sudo find . -type d -exec chmod 775 {} \;
- sudo chgrp -R www-data storage bootstrap/cache
- sudo chmod -R ug+rwx storage bootstrap/cache
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement