403 response to basset files

Using laravel backpack with basset, all files are returning 200 status except basset files.
I already tested and checked permissions but still 403 persists.
$ chown -R www-data:www-data storage
$ chmod -R 775 storage bootstrap
Another try,
$ chown -R devsite:devsite storage
$ chmod -R 777 storage // this is just for testing purposes.
See image of my network tab.
After several attempts, this error still exists.
How to fix this?
Answer
I finally fixed this. I'll just post just in case somebody might experience the same.
$ chown -R devsite:devsite storage bootstrap
$ chmod -R 775 storage bootstrap
$ chown -R devsite:devsite public/storage
Wherein, devsite is the user of testing.domain.com.
What causes the problem? This occurs when I cleared the basset.
php artisan basset:clear
Enjoyed this article?
Check out more content on our blog or follow us on social media.
Browse more articles