Closed ghost closed 6 years ago
So this is an interesting issue. My guess is it's related to the glob we do over the projects in atom to try and match pathmaps automatically.
You might be able to solve by manually setting the pathmap via the button on the top right, otherwise I might be able to add a config option to not perform the directory scan...
Thanks for your response.
Unfortunately even clicking that button causes a similar error. I've tried manually configuring a path map to my project folder (which is a higher-level directory), but it doesn't seem to help. Another solution may be to move all such folders out of my project, but it is a bith comparable to the var
directory for Symfony, in which cache files and such are stored that are created by the server inside a container (i.e. as another user), so moving them all out would be very difficult.
Is there perhaps a way to try-catch the EACCESS and skip the folder?
Thanks!
@tominventisbe v0.3.4 just landed and has a setting to turn off the project scan on missing path maps. Let me know if this resolves your issue: projectScan - "Automatically scan projects in Atom to try and find path maps"
That seems to have done the trick, thanks!
[Enter steps to reproduce:]
In my case, this is a folder created by docker and which is owned by the root user, which I have no access to without root permissions, and is only used by the container.
Atom: 1.26.1 x64 Electron: 1.8.4 OS: linux 4.16.5-1-ARCH Thrown From: php-debug package 0.3.0
Stack Trace
Uncaught Error: EACCES: permission denied, scandir '/home/user/project/data'