vs code wsl unable to write file
# it might have happened because you used the root user to create the directory.
# don't use sudo next time!
sudo chown -R username /path/to/working/directory
Source: stackoverflow.com
vs code wsl unable to write file
# it might have happened because you used the root user to create the directory.
# don't use sudo next time!
sudo chown -R username /path/to/working/directory
Source: stackoverflow.com