Re:Introducing Surface Book 2
by swah on Tuesday October 17, 2017 @02:26PM
(#15493398)
How do you access your files inside the subsystem? Don't you get permission problems (executable files etc)?
I had so many issues with Virtualbox in Windows, I rather just use a Linux desktop distro...
[ Parent
| on HN ]
They made a compatibility layer.
You shouldn't access files in WSL using windows, but the other way around it's absolutely ok.
So if my projects are at C:/Development/Projects/...
Then I just open /mnt/c/Development/Projects/... on WSL
I haven't had any permission problems, not even once.
Same for Docker for Windows. It uses Hyper-V + some network disk sharing magic, which makes directory mounts into docker containers work great. So sometimes, like, when I need to debug a non-cross-platform linux program. (WSL doesn't handle process forking well, so some debuggers, like Go Delve don't work) I just do something like
docker run -v C:/Development/Projects/MyProject:/mnt/MyProject -it ubuntu /bin/bash