Changing storage path permission in laravel

Submitted by phpScots - 6 months ago

Sometime you got Permission denied error in Laravel. The error was caused because Laravel tries to write Something to the file system and it does not have permission to do so. Solution to this problem or error is Change the owner or permissions of your storage path. To change permission of storage path please run below commands on your terminal or command Promt. Read More from http://www.laravelinterviewquestions.com/2017/05/changing-storage-path-permission-in.html

//Change you current working directory to storage folder
$ cd storage
// Give below permissions to files and Folder under storage directory 
$ sudo chmod 777 *
$ sudo chmod 666 */*

Ads cover the costs of maintaining Laravel-tricks

comments powered by Disqus

Ads cover the costs of maintaining Laravel-tricks