devcontainer.json
Broken Build
This is after re-building my devcontainer.
vscode ➜ /workspaces/devconf (main) $ cargo build
Updating crates.io index
Downloaded fnv v1.0.7
error: failed to download replaced source registry `crates-io`
Caused by:
failed to open `/usr/local/cargo/registry/cache/index.crates.io-6f17d22bba15001f/fnv-1.0.7.crate`
Caused by:
Permission denied (os error 13)
vscode ➜ /workspaces/devconf (main) $ ll /usr/local/cargo/
total 24K
drwxrwxrwx 1 root root 4.0K Oct 20 23:44 bin
drwxr-sr-x 1 root rustlang 4.0K Oct 20 23:42 binstall
-rw-rw-rw- 1 root root 308 Jun 4 18:13 env
drwxr-sr-x 4 vscode rustlang 4.0K Oct 26 05:34 git
drwxr-sr-x 5 root rustlang 4.0K Oct 20 23:42 registry
I am pretty sure that the registry folder should have write permission for the group.