Closed Niels-Be closed 3 years ago
@WaeCo thanks for this! This repo is active, just pinging @marsaud !
Hello, can you rebase this PR against master please?
Thank you :slightly_smiling_face:
Hi, Just wanted to check whether this fix is merged or not? because I'm facing the same issue while deleting a file. If not, then please suggest any workaround.
thanks!
@SHAPPY0 No, as you can see, I never got a reply on this PR and therefore it was not merged.
oh, any alternate?
No, this package is no longer actively maintained, I will review, merge and release small PRs but nothing more.
I rebased my fork, however I did not test it, since I am not using it anymore.
@julien-f could you please merge this PR? Because I need it badly.
Thanks
@WaeCo Thanks a lot!
Thanks @WaeCo and @julien-f . So @julien-f when you are planning to publish this fix? I'm still getting tags v0.17.2
@SHAPPY0 Published as 0.18.0 (because untested), please keep me posted :-)
Tested 0.18.0, but no luck...getting same error of access denied,.... @julien-f @WaeCo
This is similar to the issues described in #18 and bchelli/node-smb2#17.
It sets correct ShareAccess values for rename and unlink requests. See https://msdn.microsoft.com/en-us/library/cc246502.aspx ShareAccess.
ShareAccess was always set to 0x00. For rename and delete requests it is required to include the 0x04 flag.
There might be other situations that require those flags, but I did not check since it was not covert by my use case.
I am not sure if this repo is still active, but I wanted to share my fix with the community anyways.