Troubleshooting

gobias101
2 min readMar 10, 2022

This week while working on my React project, Plane View I ran into an error writing to my database that is on a WSL in a windows environment. This blog will go over how to troubleshoot and find help for any problems you may have while coding.

The issue I was getting was getting in the terminal everytie I tries to seed my database was:

Insecure world writable dir /mnt/c in PATH, mode 040777

I had no idea what this was or how to fix it, so my first step was google! I saw a few other people had that problem too, but the solutions were really convoluted and didnt seem to fix my case. Next I went over to https://stackoverflow.com and searched for error. There were many different solutions so I tried the simplest one first, changing a configuration in my WSL config file and restarting my computer. This worked!

If you have exhausted all your other troubleshooting options, Stack Overflow is a great place to go get help. Chances are many others have had your similar problem and there will be a number of solutions you can try. If by some chance no one has seen your problem before, you can create a new question thread and wait for others to answer, so far though I have not had to do this as pretty much any problem I have searched for there has had numerous solutions.

This was the thread on Stack Overflow that helped anser my question:

As you can see, many different users offer up solutions to this exact problem, I searched through the thread trying to get a better understanding of why I was having a problem, then tried the simplest solution first that happened to work! If it hadn’t worked I would still have a few other solutions to try and many more threads on this error to browse through. Stacked Overflow and google are a programmers greatest asset to fixing errors on their systems or in their code and get everything working again!

--

--