-
Notifications
You must be signed in to change notification settings - Fork 655
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
Implement CreateFile SharedAccess #152
Comments
Implementing this correctly under all circumstances in my own driver has proved quite frustrating as the documentation is not always clear under which conditions a set of flags should be checked: https://msdn.microsoft.com/en-us/library/windows/desktop/aa363874(v=vs.85).aspx I suspect the best way to approach this will be to lookup how it's handled in Microsoft's driver examples such as FastFAT: https://github.com/Microsoft/Windows-driver-samples/tree/master/filesys/fastfat |
In addition to @marinkobabic tests, latest oplock changes first attempted to also implement shared access. The code is currently partially implemented and commented, see https://github.com/dokan-dev/dokany/blob/master/sys/create.c#L829 |
DokanCheckShareAccess has been fixed and enabled. It seems to work with issues but more testing should be done to be sure that all cases are handled. |
IFSTest ShareAccessTest pass 👍 all seems to be good ! |
Dokan should have a option to make the driver check the file sharedaccess request before forwarding the request to the library.
This will give the ability for the user to not implement his own checks.
See #32
Begining of implementation marinkobabic/dokanx@888bd0d
The text was updated successfully, but these errors were encountered: