Skip to content

SmbPath.open: enable shared access#12

Open
henrik-nil-acc wants to merge 1 commit into
m-birke:mainfrom
henrik-nil-acc:pr/open_share_access
Open

SmbPath.open: enable shared access#12
henrik-nil-acc wants to merge 1 commit into
m-birke:mainfrom
henrik-nil-acc:pr/open_share_access

Conversation

@henrik-nil-acc

Copy link
Copy Markdown

SmbPath.open mirrors Path.open exactly and gives callers no way to pass share_access. smbclient opens exclusively by default while stdlib open allows concurrent opens, so concurrent SMB readers hit STATUS_SHARING_VIOLATION (NtStatus 0xC0000043).

SmbPath.open mirrors Path.open exactly and gives callers
no way to pass share_access. smbclient opens exclusively
by default while stdlib open allows concurrent opens, so
concurrent SMB readers hit STATUS_SHARING_VIOLATION
(NtStatus 0xC0000043).
@henrik-nil-acc

Copy link
Copy Markdown
Author

Should the default shared_access be changed as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant