microsoft / Windows-Sandbox

Disposable, secure and lightweight Windows Desktop Environment
https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-sandbox/windows-sandbox-overview
MIT License
364 stars 49 forks source link

Сorruption of files in sandbox-shared folders after memory-mapped operations #45

Open belonesox opened 8 months ago

belonesox commented 8 months ago

I sometimes use Windows Sandbox for building projects.

Years ago all worked OK, but now I see the problem.

I see corruption of files in sandbox-shared folders after memory-mapped operations, like linking.

I made a minimal reproduceable example with building "Hello world" (just run several batch scripts) and it reproduced on couple of my windows desktops.

Please, look at https://github.com/belonesox/demo4bug-strange-file-corruption-on-windows-sandbox-and-shared-folders-with-link