This repository was archived by the owner on Nov 30, 2023. It is now read-only.
This repository was archived by the owner on Nov 30, 2023. It is now read-only.
Rust Remote Container /usr/local/cargo Ownership Issue #1606
Closed
Description
/usr/local/cargo may require recursive vscode user ownership to be able to save new crates into the directory. I get a Spurious Network Error if vscode is not the user. I just manually ran chown -R vscode:rustlang /usr/local/cargo
to bypass issue.
- VSCode Version: 1.70.2
- Local OS Version: Windows_NT x64 10.0.22000
- Reproduces in: Remote - Containers - have not tried codespaces
- Name of Dev Container Definition with Issue: Rust
Steps to Reproduce:
- Set up a Remote Container using available scripts and dockerfiles:
https://github.com/microsoft/vscode-dev-containers/tree/v0.195.0/containers/rust
- Use a project that requires a crate such as rand: https://crates.io/crates/rand
- Build project. Spurious Network Error may result due to a lack of ownership of
/usr/local/cargo
Metadata
Metadata
Assignees
Labels
No labels