-
Notifications
You must be signed in to change notification settings - Fork 161
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
Handling of Windows system file status broken since 1.79.0 #234
Comments
Note that |
I can confirm that the patch works great. Thanks a lot! |
FYI: This does still not work when the directory is on a usb device; i.e. when a USB Device is for example mounted on drive H and has a valid directory with the name "source": |
What filesystem is H:? What Windows version? Can you debug this case? Assuming that you're not passing an |
Ah, sorry, there where other changes in the operations.cpp file; I just used this patch for testing. I can confirm that with boost version 1.80 boost::filesystem::is_directory() works as expected. |
Since commit 97722a3, calls like these fail on Windows 10:
boost::filesystem::is_directory(L"C:\\System Volume Information")
boost::filesystem::is_symlink(L"C:\\DumpStack.log")
This is because
CreateFileW
now fails withERROR_ACCESS_DENIED
, while the previously usedGetFileAttributesW
succeeded.The text was updated successfully, but these errors were encountered: