-
Notifications
You must be signed in to change notification settings - Fork 2.6k
cargo update requires elevation on windows #393
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
Comments
Oh dear, that's not good! It looks like the files themselves may be corrupted as I can't run the executables manually, which seems highly suspicious! |
It looks like this only affects
|
Adding a manifest should be the solution. I don't know what kind of |
Any executable with the substring "update" on windows is subject to requiring privilege escalation. For now we just rename the actual executable to `cargo-updat` but rename all usage of it so that it's not actually visible. Closes rust-lang#393
note that embedding a manifest doesn't only remove the need for elevation, but also makes the application resistant against the VirtualStore insanity: http://blogs.technet.com/b/mrsnrub/archive/2010/08/11/uac-virtualization-allowing-standard-users-to-update-a-system-protected-area.aspx. getting rid of update.exe solves the direct problem, but manifests should be still included. |
This commit removes all distributed executables except for `cargo`. All builtin subcommands are implemented through library calls, and the fallback methods are retained to maintain extensability through new subcommands. Closes rust-lang#393
This commit removes all distributed executables except for `cargo`. All builtin subcommands are implemented through library calls, and the fallback methods are retained to maintain extensability through new subcommands. Closes #393
This commit removes all distributed executables except for `cargo`. All builtin subcommands are implemented through library calls, and the fallback methods are retained to maintain extensability through new subcommands. Closes rust-lang#393
This commit removes all distributed executables except for `cargo`. All builtin subcommands are implemented through library calls, and the fallback methods are retained to maintain extensability through new subcommands. Closes rust-lang#393
Not even help works:
Error 740 is "The requested operation requires elevation." in English.
The text was updated successfully, but these errors were encountered: