News for hackers. Stuff that matters.
Re:From macOS to Windows and WSL by PascLeRasc on Friday December 07, 2018 @01:30PM (#18630162)
Also you can't interact with the WSL directory outside in a graphical text editor or File Explorer. There's going to be someone who responds to this saying it works for him, and I'm very happy for you. Every time I create a folder in the WSL directory in File Explorer it's permanently un-cd-able in WSL, and vice versa. Editing text files outside corrupts them. Yes, I've tried reinstalling.

WSL is just a shitty implemention on a shitty OS. Linux and OS X work perfectly and they have package managers and I can control updates.

Re:From macOS to Windows and WSL by CodeCube on Friday December 07, 2018 @01:49PM (#18630377)
The trick here is to not use any windows program to modify anything on the WSL file system (because of the unix permission system). But it works vice-versa ... so you can use any unix program to modify a file on the windows file system.

So my hack there is to simply make a symlink in my unix dir (`~/dev`, usually) that points to a folder on the windows file system ... that way I just do all my work in ~/dev and it's all good.

Re:From macOS to Windows and WSL by setquk on Friday December 07, 2018 @02:21PM (#18630693)
What’s the point then? Cygwin works better than this.
Re:From macOS to Windows and WSL by yunyu on Friday December 07, 2018 @03:41PM (#18631417)
WSL works with unmodified Linux binaries, while you need to port/recompile everything for Cygwin.
Re:From macOS to Windows and WSL by CodeCube on Monday December 10, 2018 @11:04AM (#18648814)
I was simply communicating how to avoid this issue ... judgments of worth and value are a separate discussion.
Re:From macOS to Windows and WSL by bproven on Friday December 07, 2018 @01:34PM (#18630209)
Yeah - I generally touch files or create dirs in WSL first to get around it. Otherwise it is a cluster. If i could just use Linux @ work I'd be much happier.
Re:From macOS to Windows and WSL by gpvos on Friday December 07, 2018 @01:58PM (#18630480)
Yes, you should have heeded the warnings against that. The article also mentions this in passing. You can get at Windows files from WSL, but don't do it the other way round.
Re:From macOS to Windows and WSL by Zekio on Friday December 07, 2018 @03:11PM (#18631152)
you can get package managers on Windows as well, such as chocolatey or https://scoop.sh/