delete_on_close flag handling

Nadav Danieli nadavd at exanet.com
Sun Aug 14 21:55:25 GMT 2005


Forget what I've said, testing against w w2k workstation share give the
same results.
Naively I made my tests against a local file system.
I now wonder how will Windows handle hard links, but i doubt it will be
different than samba.

Sorry about all the fuss,

Nadav

> -----Original Message-----
> From: Volker Lendecke [mailto:vlendec at SerNet.DE]On Behalf Of 
> Volker Lendecke
> Sent: Monday, August 15, 2005 12:17 AM
> To: Nadav Danieli
> Cc: samba-technical at lists.samba.org
> Subject: Re: delete_on_close flag handling
> 
> 
> On Sun, Aug 14, 2005 at 10:02:11PM +0300, Nadav Danieli wrote:
> > Current implementation of the delete_on_close disposition 
> does not act
> > exactly like Windows server.
> > Even though the file disappear when deleting it, it is 
> still visible by
> > other machines, and the machine that deleted it, after 
> refresh, until
> > the last open file with the same i-node is closed.
> > Another problem is, that there is a chance, even if small, 
> if a file has
> > multiple a hard links on different shares, that the wrong 
> entry will be
> > removed.
> > 
> > Any thoughts / ideas about this?
> 
> Which exact version did you test? There have been significant 
> changes in this
> area between 3.0.14a and (the to be released) 3.0.20. If you 
> did not test
> against 3.0.20rc2, could you please try this? If you still 
> find differences,
> could you please provide two sniffs, one against a Windows 
> 2003 server and one
> against Samba 3.0.20rc2, and *exact* steps to reproduce the 
> faulty behaviour?
> 
> Thanks,
> 
> Volker
> 


More information about the samba-technical mailing list