Ralph Boehme
2019-Dec-05 09:37 UTC
[Samba] hp-ux samba windows client fails to delete directory
On 12/5/19 9:58 AM, Kumar, Arjit (SSTO) wrote:>> yes, probably works as designed. > I have enabled "strict rename" also but the behavior is still same. > As some time \FOLDER_A\FOLDER_B gets deleted but not \FOLDER_A, while sometime both \FOLDER_A and , \FOLDER_A\FOLDER_B got deleted. > Behavior is not consistent in this scenario. > Which one of above is expected behavior by design ?It depends. :) If user 2 with cwd in folder_b really has a open handle on that dir, then with strict rename enabled I'd expect the client attempting the delete should get a consistent error message. I recommend taking a closer look at network traces and code. -slow -- Ralph Boehme, Samba Team https://samba.org/ Samba Developer, SerNet GmbH https://sernet.de/en/samba/ GPG-Fingerprint FAE2C6088A24252051C559E4AA1E9B7126399E46
Kumar, Arjit (SSTO)
2019-Dec-17 09:25 UTC
[Samba] hp-ux samba windows client fails to delete directory
Hi Ralph,>> It depends. :) If user 2 with cwd in folder_b really has a open handle on that dir, then with strict rename enabled I'd expect the client attempting the delete should get a consistent error message. >> I recommend taking a closer look at network traces and code.Please share more details on when the handle will remain open on the directory, and how to verify this behavior ? Regards, Arjit -----Original Message----- From: Ralph Boehme [mailto:slow at samba.org] Sent: Thursday, December 5, 2019 3:08 PM To: Kumar, Arjit (SSTO) <arjit.kumar at hpe.com> Cc: samba at lists.samba.org Subject: Re: [Samba] hp-ux samba windows client fails to delete directory On 12/5/19 9:58 AM, Kumar, Arjit (SSTO) wrote:>> yes, probably works as designed. > I have enabled "strict rename" also but the behavior is still same. > As some time \FOLDER_A\FOLDER_B gets deleted but not \FOLDER_A, while sometime both \FOLDER_A and , \FOLDER_A\FOLDER_B got deleted. > Behavior is not consistent in this scenario. > Which one of above is expected behavior by design ?It depends. :) If user 2 with cwd in folder_b really has a open handle on that dir, then with strict rename enabled I'd expect the client attempting the delete should get a consistent error message. I recommend taking a closer look at network traces and code. -slow -- Ralph Boehme, Samba Team https://samba.org/ Samba Developer, SerNet GmbH https://sernet.de/en/samba/ GPG-Fingerprint FAE2C6088A24252051C559E4AA1E9B7126399E46
Ralph Boehme
2019-Dec-17 09:42 UTC
[Samba] hp-ux samba windows client fails to delete directory
Am 12/17/19 um 10:25 AM schrieb Kumar, Arjit (SSTO):> Please share more details on when the handle will remain open on the directory,when the client has sent a SMB2 CREATE -> handle, but didn't send a close on the resulting filehandle.> and how to verify this behavior ?Look at a network trace. -slow -- Ralph Boehme, Samba Team https://samba.org/ Samba Developer, SerNet GmbH https://sernet.de/en/samba/ GPG-Fingerprint FAE2C6088A24252051C559E4AA1E9B7126399E46
Apparently Analagous Threads
- hp-ux samba windows client fails to delete directory
- hp-ux samba windows client fails to delete directory
- hp-ux samba windows client fails to delete directory
- hp-ux samba windows client fails to delete directory
- hp-ux samba windows client fails to delete directory