vscode remote wsl 的NoPermissions permission denied问题

在 wsl这个目录  code-insiders . 之后会报这个错

无法打开“wsl”: Unable to read file (NoPermissions (FileSystemError): Error: EACCES: permission denied, stat '/root/wsl')。

这个问题其实很简单,wsl是软连接,vscode应该是不支持打开软连接的。直接  在/mnt/d/wsl  code-insiders .  就没这个问题了

原文地址:https://www.cnblogs.com/l2017/p/11244826.html