WSL can't run any exe files after I added options = "metadata,umask=022,fmask=111" to wsl config. The reason I did this is so I can share ssh keys from a parent windows machine. So I would like to keep that behavior.
This is what I get:
/usr/bin/wslview: line 216: /mnt/c/Windows/System32/reg.exe: Permission denied
/usr/bin/wslview: line 149: /mnt/c/Windows/System32/chcp.com: Permission denied
/usr/bin/wslview: line 156: /mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe: Permission denied
/usr/bin/wslview: line 149: /mnt/c/Windows/System32/chcp.com: Permission denied
I can chmod some exe files +x to and make them run but some I can't. I'm currently trying to open file with chrome, but I would like a general solution so I can run all exe files.