-
Notifications
You must be signed in to change notification settings - Fork 671
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
FileSystem::isFileLocked is incomplete and does not detect locking in all cases #8761
Comments
The current implementation tries to gain shared access and returns true if it succeeds, for vfs windows we might need exclusive access however. |
TheOneRing
added a commit
that referenced
this issue
Jun 21, 2021
TheOneRing
added a commit
that referenced
this issue
Jun 21, 2021
TheOneRing
added a commit
that referenced
this issue
Jun 21, 2021
TheOneRing
added a commit
that referenced
this issue
Jun 21, 2021
TheOneRing
added a commit
that referenced
this issue
Jun 21, 2021
TheOneRing
added a commit
that referenced
this issue
Jun 21, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While the above function returns false CfOpenFileWithOplock fails due to locking.
WindowsError: ffffffff80070020: The process cannot access the file because it is being used by another process."
The text was updated successfully, but these errors were encountered: