sudo chown -R USERNAME:USERNAME /path/to/laravel
sudo find /path/to/laravel -type f -exec chmod 644 {} \;
sudo find /path/to/laravel -type d -exec chmod 755 {} \;
cd /path/to/laravel
sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache
sudo usermod -a -G www-data USERNAME
Last active
August 2, 2021 09:00
-
-
Save k-zakhariy/e4715e90cfe4eaf6c666c57d91ccca23 to your computer and use it in GitHub Desktop.
Laravel folder permissions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment