I can't successfully run any windows command from certain directories. These are Windows directories, not native WSL directories.
$ cd /mnt/f/Projects/ng/standalone2/
# no error:
$ explorer.exe .
$ cd /mnt/f/Projects/ng/android2/
$ explorer.exe .
Segmentation fault (core dumped)
I've tried using icacls.exe
to erase any ICLs that could have been causing the problem. Newly created directories sometimes exhibit the problem, so I can't just copy everything and expect it to work from that point forward. I can't even run "git.exe help clone" (and I can't totally get away from using Windows executables).
How can I debug this? I am using Windows 10, version 1909 (build 18363.720).
/etc/wsl.conf
file to configure settings? Try to use chmod and chown to fix WSL side. DO NOT use icacls or takeown.options = "metadata"
in wsl.conf. I used to have bind mounts and drives mounted in multiple places, but I removed those settings.