Jeremy Allison jra at
Thu Oct 9 14:04:48 MDT 2014

On Wed, Oct 08, 2014 at 05:40:44PM +0200, Michael Adam wrote:
> On 2014-10-08 at 08:21 -0700, Richard Sharpe wrote:
> > 
> > OK, so there is more work to do. Why do we need to keep the file open
> > at the UNIX level? Surely it is the same to open it again when the
> > client sends a D2NC or whatever.
> We don't strictly need to keep the unix file open
> (as proven by the implementation of durables),
> but this would make several things easier.
> In particular, only this way we would have a chance
> to notice when a non-samba-process tries to access
> the file.

Only easier if we find a way to "park" open
file hanles whilst the owning process goes

IMHO in our current architecture closing and
re-opening would be a much easier first step.


More information about the samba-technical mailing list