cargo install / check fails in devcontainer. Cargo doesn't have permissions to create files in /usr/localcargo../ directory.
It could be because during installation of sqlx-cli all the meta folders are created by root and vscode user doesn't have permissions to write to those folders.
Workaround:
chmod -R 775 /usr/local/cargo
cargo install / check fails in devcontainer. Cargo doesn't have permissions to create files in
/usr/localcargo../directory.It could be because during installation of sqlx-cli all the meta folders are created by root and vscode user doesn't have permissions to write to those folders.
Workaround:
chmod -R 775 /usr/local/cargo