[Samba] hp-ux samba windows client fails to delete directory

Kumar, Arjit (SSTO) arjit.kumar at hpe.com
Tue Dec 17 09:25:41 UTC 2019


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


More information about the samba mailing list