#laravel #howto #permission #ubuntu #storage #PermissionDenied #WebDevelopment #CodingTips
Assign ownership command for storage directory only.
sudo chown -R $USER:www-data storage
if you face same permission denied for bootstrap/cache directory then run below command
sudo chown -R $USER:www-data bootstrap/cache
You can run both command at the same time like below
sudo chown -R $USER:www-data storage bootstrap/cache
If you still face write permission issue then run below command
chmod -R 775 storage bootstrap/cache
If you've encountered the frustrating "Permission Denied" error while working with Laravel on your Ubuntu server, fear not – we've got you covered! In this video , we'll walk you through the process of fixing this common issue so you can get back to building amazing Laravel applications.
Ещё видео!