-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Error when trying to save to root of drive #379
Comments
@RWeigelt are you sure you can save there, can you try with nodepad? |
Yes, I can write a text file with notepad. And I also tried other drives. |
@RWeigelt so you do Ctrl+N, type something and then try to save it to r: from the windows save dialog? |
Exactly. The error message appears trying to use Save, Save As or (when creating multiple files), Save All. |
@RWeigelt is R: some drive created with subst or a real physical drive? I assume it is not the root drive where windows is installed? |
R: is a RAM disk - so I suspected this to be the problem at first. That's why I checked on other, "real" drives (except the system drive C:), and I can reproduce the behavior. |
What I'm not sure about is why VSCode is trying to run |
Thanks, will look into it! |
This looks like a bad regression in pfs.mkdirp(). It relies on the EEXIST error but when reaching the root drive, it ends in EPERM. @joaomoreno I think you touched this function last. |
As of now, 0.10.8-insider build run as an administrator lets you save to D: As far as I can see, @bpasero this is truly closed. |
In version 0.10.1 it is no longer possible to write to the root of a drive (which worked up to 0.9.1).
When trying to save to e.g.
r:\example.txt
, the following error message appears:Tested on Windows 7 Ultimate and Windows 10 Professional, US language, German region settings.
The text was updated successfully, but these errors were encountered: