Interactive Books' Atelier's blog

How are you?

Laravel installation set permissions for ubuntu

1 year ago | Quick Recipe
sudo chown -R www-data:www-data /path/to/your/laravel/root/directory

Next go to the root directory of your Laravel instance and change the permission of following folders

sudo chgrp -R www-data /var/www/html/LARAVEL
sudo chmod -R 775 /var/www/LARAVEL/storage


older version:

sudo chgrp -R www-data bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache

Source:, answered originally by