Changing storage path permission in laravel
Fixing Permission denied Error in Laravel
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.
//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 */*