VScode unable to save files inside my WSL2 home folder

Here is another command to provide your user with sufficient permissions to write to files:

sudo chown -R myuser /path/to/folder

From https://github.com/microsoft/vscode-remote-release/issues/1008

Leave a Comment