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)
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: