sudo chmod -R 777 /var/www/website-laravel
sudo chown -R www-data:www-data /var/www/website-laravel
sudo usermod -a -G www-data ubuntu
sudo find /var/www/website-laravel -type f -exec chmod 644 {} \;
sudo find /var/www/website-laravel -type d -exec chmod 755 {} \;

cd /var/www/website-laravel

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

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

sudo find -type d -name bin -exec chmod -R u+x {} \;