Open
Description
At https://learn.microsoft.com/en-us/windows/dev-drive/#does-dev-drive-work-with-wsl-project-files I think a major limitation exists. By reverse-engineering the logic written across several paragraphs/pages...and then testing myself...it appears that
- dev drives are ReFS
- ReFS does not support extended attributes on files
- WSL2's
metadata
mount feature needs extended attributes on files to implement *nix chmod user/group/other permissions - Therefore, WSL2 silently fails to set permissions correctly on all file hosted by a Dev Drive.
I verified this limitation on Microsoft Windows [Version 10.0.22621.2428], WSL2 Ubuntu 20.04, and dev drive
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: bfda7965-bc34-ab88-fdc9-efef4a5d8a9e
- Version Independent ID: bfda7965-bc34-ab88-fdc9-efef4a5d8a9e
- Content: Set up a Dev Drive on Windows 11
- Content Source: hub/dev-drive/index.md
- Product: dev-environment
- Technology: windows-devhome
- GitHub Login: @mattwojo
- Microsoft Alias: mattwoj