You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running VScode with WSL, but with WSL in a non-standard mount path -- WSL installed on a D:\ drive. In particular, my WSL is installed under D:\Ubuntu-1804-LTS\Ubuntu.
I have WSL installed as a terminal in VScode and git working fine inside WSL -- ssh keys and all.
wslgit is installed and working as D:\wslgit.exe
Problem:
When trying to perform git operations, wslgit.exe tries to use the whole mount path, as follows:
The permission denied issue is b/c it's not possible to traverse "rootfs" from inside WSL.
Proposed solution:
Please adjust the path parsing logic such that, if it contains rootfs, all previous path -- up and inculding rootfs -- are simply replaced with /. In my case have /mnt/d/Ubuntu-1804-LTS/Ubuntu/rootfs/ simply replaced with /
If this is a known problem and a solution already exists, please advise.
LMK if you need any additional info.
Thanks,
/Florian
The text was updated successfully, but these errors were encountered:
You may try an alpha build of the upcoming version 0.9.0 available here.
In this version, all paths are handled by wslpath, and the working directory is not explicitly changed. Maybe this fixes your issue.
Setup:
I'm running VScode with WSL, but with WSL in a non-standard mount path -- WSL installed on a
D:\
drive. In particular, my WSL is installed underD:\Ubuntu-1804-LTS\Ubuntu
.I have WSL installed as a terminal in VScode and git working fine inside WSL -- ssh keys and all.
wslgit is installed and working as
D:\wslgit.exe
Problem:
When trying to perform git operations, wslgit.exe tries to use the whole mount path, as follows:
The
permission denied
issue is b/c it's not possible to traverse "rootfs" from inside WSL.Proposed solution:
Please adjust the path parsing logic such that, if it contains
rootfs
, all previous path -- up and inculdingrootfs
-- are simply replaced with/
. In my case have/mnt/d/Ubuntu-1804-LTS/Ubuntu/rootfs/
simply replaced with/
If this is a known problem and a solution already exists, please advise.
LMK if you need any additional info.
Thanks,
/Florian
The text was updated successfully, but these errors were encountered: