`ReadDirectoryChangesW` method is unsupported on `\\wsl$` paths
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
Version
Microsoft Windows [Version 10.0.19042.870]
WSL Version
- WSL 2
- WSL 1
Kernel Version
4.4.0-19041
Distro Version
Ubuntu 18.04
Other Software
No response
Repro Steps
The ReadDirectoryChangesW function cannot be used to recursively watch a folder path such as \\$wsl\Ubuntu\home, the method invocation returns a non-normal status code.
Expected Behavior
ReadDirectoryChangesW method can be used on \\$wsl\... paths.
Actual Behavior
ReadDirectoryChangesW method cannot be used on \\$wsl\... paths.
Diagnostic Logs
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported recursive watch failure with ReadDirectoryChangesW on the specified WSL paths and inspect the WSL handling for that API. Done means establishing whether support can be added and verifying that directory watching works for the reported paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100