3 ms·
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
by swah 9y ago
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...
- cube2222 9y agoThey 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