🚀 DevOps & SRE Certification Program 📅 Starting: 1st of Every Month 🤝 +91 8409492687 🔍 Contact@DevOpsSchool.com

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

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. https://cmsdk.com/php/laravel-impossible-to-create-root-directory.html 2. https://xenforo.com/community/threads/permission-denied-in-src-vendor-league-flysystem-src-adapter-local-php-at-line-158.168031/
3. https://laravel.com/docs/5.8/filesystem


Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.