Laravel Permissions to set on Storage folder on Linux.
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
When we Setup laravel project on linux server then we have to give permissions to all folder’s, sub-folder’s and files in laravel Storage folder. So, i’m providing the list of permission which you have to set in storage folder. I’m providing this list because we can’t set 777 permission to all folders, if we do then it’s may be a security concern.
So i’m providing a complete list of each folder’s and sub-folder’s permissions.
- storage – 755.
- storage/app – 755.
storage/app/public – 755. - storage/framework – 755.
storage/framework/views – 777.
storage/framework/testing – 755.
storage/framework/sessions – 777.
storage/framework/cache – 755. - storage/logs – 755.
That’s all. Hope this article will solved your problem.
Keep Exploring.
Thanks for reading.