79826826

Date: 2025-11-21 18:00:01
Score: 2
Natty:
Report link

I was getting similar permission errors trying to connect to a WSL Distro from VSCode.

It turned out that, as I'm running on a virtual desktop, my Windows profile is actually held on a separate disk and mounted into a mount point folder under c:\users\.

From Windows' point of view this is seamless.

From WSL's point of view, it's trying to automatically map Windows file system permissions into Linux file system permissions... and cannot do that for mounted volumes.

To resolve this I have moved my vscode extensions to a different folder on the main drive using this answer.

https://stackoverflow.com/a/77093668/4333070

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: reubster