kbknapp / cargo-extras

A collection of cargo subcommands
BSD 3-Clause "New" or "Revised" License
36 stars 2 forks source link

`cargo install cargo-extras` fails to run as user #18

Open colin-kiegel opened 8 years ago

colin-kiegel commented 8 years ago

I had the very same issue with https://github.com/carols10cents/cargo-open/issues/12. Other cargo plugins install without sudo. I can't see why sudo should be necessary. Of course this is not a show-stopper at all - but strange - without sudo I get:

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

Caused by:
  unable to get packages from source

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

That is strange, thanks for reporting. I'll keep an eye out and report back if I find something to fix this!