nuggetman / smb-connector

SMB Connector
Other
1 stars 2 forks source link

Improve permission usage for share access #22

Open nuggetman opened 4 years ago

nuggetman commented 4 years ago

The issue can occur if the smb user is not having full permissions on server side. The writeFile method in the connector could be fixed to use SMB2ShareAccess.FILE_SHARE_WRITE instead of SMB2ShareAccess.ALL.

Originally posted by @inv3r53 in https://github.com/nuggetman/smb-connector/issues/20#issuecomment-610771478