-
Notifications
You must be signed in to change notification settings - Fork 668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZwCreateFile invoked with UNC path #973
Comments
Thanks for the report. Do you a way to reproduce the issue ? I mean I never saw this behavior 🥺 Does it comes from a specific process? |
I first thought it's Explorer, but it can be reproduced as simple as this from inside a PowerShell console:
At least on my machine. I also had a look at Dokan's NP logs with DgbView. Nothing interesting:
This happened at the same timestamps as ZwCreateFile was invoked on the UNC. |
I've fired up a Windows 7 x86 virtual machine (updated with the latest Microsoft updates available): Same behavior. |
I don't know if this is "by design" or if it's related to the issue, but no kind of UNC access is working for me:
returns a "path not found" error. The request is coming as Maybe is this the real issue. Another observation: When I disable the network provider,
|
@robert-j It is definitely an issue but I cannot say if it comes from the network provider or the kernel unfortunately. It needs some debugging that I cannot allocate right now. |
Can you reproduce the issue? |
@robert-j sorry for the delay, I can reproduce the issue easily with your steps. Yes the mirror gets the path with unc. Using procmon, can see that there is a first request for the unc path with the text file which result in a repasse status and a second createfile with the same path but starting with a single backslash instead of a double. |
Quickly looked at the issue. The driver logs is not showing the reparse call. We only get the
|
Note: The mirror sample actually remove the UNC from the requested path if present so I imagine some believed it was expected somehow. |
Environment
Check List
Description
The ZwCreateFile callback is sometimes invoked with a UNC path.
The following steps are required to reproduce the issue:
Start memfs with
memfs.exe /l M: /n /u \unc\test /d
create the file
M:\test.txt
select it in Explorer and open its context menu
wait for the provider to eventually time out (this is another issue ;))
look at the debug logs:
Remarks
The issue occurs only if Dokan's network provider is installed.I stand corrected. It occurs even w/out the network provider. See the comments below.
The text was updated successfully, but these errors were encountered: