Re:The Surface Book 2 is everything the MacBook Pro should be
by freeone3000 on Monday July 02, 2018 @12:40AM
(#17439378)
Stuff in lxss is treated "special" - files in that directory have unix numeric permissions on NTFS instead of ACL permissions. Windows doesn't know how to set those, so if win32 subsystem is updating permissions (for instance, on file save) and the linux subsystem is updating metadata (for instance, on file save), it's possible to end up in a state where neither subsystem is able to get permission to touch the file again.
For this reason, it is recommended to only edit files outside this directory from both subsystems (not to say this isn't issue-free, but it's relatively reliable.)
Re:The Surface Book 2 is everything the MacBook Pro should be
by hackujin on Thursday June 28, 2018 @11:44AM
(#17417844)
The file becomes invisible to WSL right after it gets edited in Windows. It's because it's doing weird tricks to associate UNIX permissions to files stored in Windows. The Windows app will break those permissions so instead of mitigating that in WSL it simply stops being able to "see" the file.
Re:The Surface Book 2 is everything the MacBook Pro should be
by freeone3000 on Monday July 02, 2018 @12:41AM
(#17439383)
There's a perf hit. You may have noticed disk access in WSL outside this directory is slow. Inside this directory, wsl should be the same speed as w32 native, because it doesn't hit the magic layer.
Unless i'm misunderstanding the issue