Laravel Error – Impossible to create the root directory

Error view

I found this error on my laravel project. when I want to upload images to my profile pic then I saw the above error. so please be focused on my blog. this error occurs when we want to upload images. so you should change the permission in storage/app/public.

Below you will see the public folder without permission.

Now you have to run a command after reaching that location
you should use cd storage/app to change the directory from root to that specific location and run this command chmod 777 public to give permission to that folder.
after giving permission your directory will look like this, then you can upload images easily.

References : (these references for your different type of problems in root folder so you have to read these references and other also.)
1. 2.

Chandan Kumar
Follow Me: