-
Notifications
You must be signed in to change notification settings - Fork 900
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Rust windows installer failed when not run with admin privilege #1223
Comments
It seems somewhat related to #1188 |
As well as deleting |
@ferrouswheel ironically the downloaded file it is not partial but complete. rustup just need to move it to the appropriate place. |
I am on Windows 8.1 and EDIT: I see now that even when I changed to gnu it installed msvc...already reported #1409 |
Do you have Rustup does not normally require admin privileges to install. Does the error message give any more details than just "access denied"? Do you use any additional security software or have any unusual restrictions? |
I just downloaded last version (1.26.1) and could fix this by un-checking the Run this as administrator option in the rust-init properties. By default Windows marks this as admin's right required. Clarification: after this, rustup, rustc ... installed in my non-admin user correctly and is working fine. No need to define CARGO_HOME or do anything else. |
Zero idea what was going on here, but the download cannot carry the admin-privileges bit, so it must have been something local / windows 8 specific. Please do reopen if this is still happening. |
Installer:
rustup-init.exe
How to reproduce this bug
start installer without admin privilege
Wait for download
When download of component
rustc
is completed, the installer saysAccess denied
and halts.start installer with admin privilege
the download is now complete, but the installer will request byte range of size 0 from the server, results in error
Cannot get multi-part...
..multirust/
must be deleted to correct and restart installationThe text was updated successfully, but these errors were encountered: