rename parent directory and v2 lease breaks
rb at sernet.de
Wed Mar 4 01:08:53 MST 2015
On Wed, Mar 04, 2015 at 06:54:26AM +0100, Volker Lendecke wrote:
> 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.
Hm, I fail to find this in the doc, the only applicable rule I see is:
* If Open.File.FileType is DirectoryFile, determine whether Open.File
contains open files ...
* If Open.File contains open files, the operation MUST be failed with
in MS-FSA 184.108.40.206.11. The pseudocode algo doesn't mention any lease
break triggering. Am I missing anything? Is this missing in the doc?
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
More information about the samba-technical