rename parent directory and v2 lease breaks

Stefan (metze) Metzmacher metze at samba.org
Tue Mar 3 23:23:51 MST 2015


Am 04.03.2015 um 06:54 schrieb Volker Lendecke:
> On Tue, Mar 03, 2015 at 02:41:31PM -0600, Steve French wrote:
>> I was testing Samba 4.2 and noticed that renaming the parent directory
>> did not trigger a v2 lease break for files opened in that directory
>> (it looks like Windows does send one though).
>>
>> Shouldn't rename of the parent directory trigger a lease break for
>> open files in the directory?
> 
> Yes, it should. But we don't do that right now because it
> would require a full traverse of locking.tdb.

"strict rename = yes" should handles that, correct?

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150304/83014c20/attachment.pgp>


More information about the samba-technical mailing list