-
Notifications
You must be signed in to change notification settings - Fork 891
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
Self update fails on Windows ("Access is denied") #1186
Comments
This happens if you are currently running the RLS. For example, you may have VSCode open with the rust plugin enabled, in which case the RLS will be constantly running in the background. Can you confirm if that's the issue? |
Yes, you're right: the RLS was running... After terminating it, the update process worked fine. Sorry for the false alarm, I should have checked before posting |
While that is both the issue and still the fix, it would be nice if rustup maybe gave a hint that this is the case. Would it be possible to detect? |
Oops, another duplicate of #988. We really need to find some time to fix that... Even a trivial global lock should help. |
I couldn't self-update
rustup
to 1.5.0 because therustup.exe
file is locked (probably by itself...):OS: Windows 10 Creators Update
The text was updated successfully, but these errors were encountered: