-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EACCES: permission denied, mkdir '/tmp/vsch #2347
Comments
We could try to use It seems we should move the cache folder to the user data dir since we want it to persist across system restarts. |
That seems like a much reasonable approach. It must be fair to make some assumptions on the environment inside the Docker, like XDG Base Directory compliance. |
+1 Still happens with VSCode 1.60.2 on Ubuntu. Any updates on this? |
Still happens with VSCode 1.62.2 on Windows. |
Having the same issue. Are there any plans to move the cache folder to the user dir? |
Same issue here.. Would be great to have a fix for this! |
Same issue in 1.63.0. Multiple users can not reopen container from Remote-SSH. I see that vscode-typescript has following directories in /tmp. It seems a neat solution: Any update on this? |
I ran into this issue earlier in the year while supporting a group of developers logging in to a shared server through VNC and using the Remote Containers extension. At the time, I figured out that VSCode honors the linux TMPDIR environment variable, so I had the developers set up a custom launcher that created a
to my I hope these workarounds help anyone else running into this issue while we wait for a permanent fix. I don't have much experience with running this extension on Windows, so I don't know how well this translates to that environment. |
I also have this issue. A fix would be welcome. |
Hello, we also have this issue. We are sharing workstations and we like to run different VSCode containers concurrently with different users. |
I would love to see that fixed, too! Our team just ran into the same issue. |
+1, please fix. I'm using vscode over SSH connection. It worked just fine for myself but after adding another user to the host, we ran into this permission error. I feel this would block people from sharing their dev environment. It feels reasonable for the server-client architecture to handle multiple clients by different users. |
Running into this issue on a remote shared server as well. Changing TMPDIR to something for every user worked as a workaround for us as well. |
Really hopping this doesn't continue slipping through milestones and gets fixed, it is a quite annoying bug. |
Same as @mcw8d, I have a group of students that are all using the same host for dev projects this summer. I'm going to try some of these solutions, but I'd love a fix :) |
Encountered same error, a fix to this issue would be really appreciated. |
I add a +1 for me, as I was now facing the same problem with a colleague. |
Fixed in Remote-Containers v0.241.1-pre-release. Let me know if that works for you. Thanks. |
Verified that I now get a temp folder with my user id: |
Steps to Reproduce:
Suggested fix:
Use mktemp with a template prefix of
/tmp/.vsch-#########
.Note from the future: This will not be a problem in a better world where each application and each user has its own /tmp directory.
The text was updated successfully, but these errors were encountered: