When running the devcontainer locally (i.e. not in codespaces) I get an error due to a permissions issue where the workspace directory I am working with is owned by the root user rather than the codespace user I am logged in as.
This is easy enough to fix by just running the following command in the root directory /workspaces/todart but shouldn't be necessary:
sudo chown -R ${USER}: ${PWD}
When running the devcontainer locally (i.e. not in codespaces) I get an error due to a permissions issue where the workspace directory I am working with is owned by the
rootuser rather than thecodespaceuser I am logged in as.This is easy enough to fix by just running the following command in the root directory
/workspaces/todartbut shouldn't be necessary: