Skip to content

missing Dev Drive WSL limitations for metadata #4680

Open
@diablodale

Description

@diablodale

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

  1. dev drives are ReFS
  2. ReFS does not support extended attributes on files
  3. WSL2's metadata mount feature needs extended attributes on files to implement *nix chmod user/group/other permissions
  4. 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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions