LukeShortCloud / rootpages

Root Pages is a collection of easy-to-reference tutorials and guides primarily for Linux and other UNIX-like systems.
Other
56 stars 6 forks source link

[windows][storage] ZoneIdentifier files on Linux #1016

Closed LukeShortCloud closed 12 months ago

LukeShortCloud commented 1 year ago

When accessing Linux files from Windows (either WSL files or NFS files), Windows >= 10 creates a file called <FILE_NAME>:Zone.Identifier for every <FILE_NAME>. This functionality can be disabled:

Local Group Policy Editor > User Configuration > Administrative Templates > Windows Components > Attachment Manager > Do not preserve zone information in file attachments > Enabled > OK

https://github.com/microsoft/WSL/issues/4609#issuecomment-1079657697