-
Notifications
You must be signed in to change notification settings - Fork 41
GetFinalPathNameByHandle fails with ERROR_FILE_NOT_FOUND #130
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
Comments
Just to add to this, I got it working again by disabling symlinks in Git settings and removing the MSYS environment variable (when Nevertheless,it seems |
Are you running this inside Cygwin/MSYS, or natively in Windows? |
If I'm understanding your issue correctly, I expect this is related to the known upstream issue in Dokany, since it does not support symlinks: dokan-dev/dokany#343 |
I'm running natively and there are no symlinks in the picture; GetFinalPathNameByHandle simply always fails for any file on the encrypted drive. |
You can get Dokany to output debug information (though it is very verbose) by using: encfs.exe path mountpoint -- -d This might help to figure out what Dokany is doing and why that call is failing. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
There isn't much to see in the
At the same time the output from the test program is: How to debug this further? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Bump. |
Did you say this worked after you disabled symlinks in Git? Or does it not work even in that case? encfs4win cannot handle symbolic links if that is the case. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Environment
Description
For some reason Git isn't working with a repo mounted via encfs4win (I remember it did before, but don't know what/where changed).
I traced the issue down to the call to
GetFinalPathNameByHandle
which on my system fails with error 2, ERROR_FILE_NOT_FOUND.Here's a test program to reproduce the issue.
It works for any path outside encfs4win and fail for any path inside encfs4win.
Any idea how to debug this further?
Also tried with Dokan 0.7.4, same issue.
The text was updated successfully, but these errors were encountered: