carols10cents / cargo-open

A third-party cargo extension to allow you to open a dependent crate in your $EDITOR
Apache License 2.0
22 stars 5 forks source link

`cargo install cargo-open` fails to run as user #12

Open colin-kiegel opened 8 years ago

colin-kiegel commented 8 years ago

When used with sudo it works. Other cargo plugins install without sudo. I can't see why sudo should be necessary. Without sudo I get:

$ cargo install cargo-open --verbose
    Updating registry `https://github.com/rust-lang/crates.io-index`
failed to compile `cargo-open v0.3.0`, intermediate artifacts can be found at `/tmp/target-install`

Caused by:
  unable to get packages from source

Caused by:
  Permission denied (os error 13)
sjmackenzie commented 8 years ago

Yup this is also hitting us now.

JonnieCache commented 3 months ago

I have a new implementation available here:

https://github.com/JonnieCache/cargo-open

I have applied to the author of this repo to take over crate maintenance, in the meantime you can install it with:

cargo install --git https://github.com/JonnieCache/cargo-open