Windows vs POSIX directory rename with open files behaviour
realrichardsharpe at gmail.com
Thu Jan 22 10:17:06 MST 2015
On Thu, Jan 22, 2015 at 1:17 AM, Ralph Böhme <rb at sernet.de> wrote:
> Bug: <https://bugzilla.samba.org/show_bug.cgi?id=11065>
> Looks like Apple's SMB server deviates from the standard in that it
> allows renames of directories with open files. As specified in , a
> SMB server MUST deny renames of directories with open files with an
> error code of STATUS_ACCESS_DENIED.
I seem to recall that we checked Windows behavior when I was at
Panzura and Windows disallowed renames if there were any open files
anywhere below the point being renamed, however, a quick scan of the
reference you provide below does not seem to say that.
> Haven't checked yet whether there are dependencies on protocol level,
> capabilities or something else. The basic behaviour is just that with
> a 10.10 -> 10.9|10 SMB2 connection, renaming directories with open
> files works.
> Possible patch: <https://bugzilla.samba.org/attachment.cgi?id=10648>
> Thoughts? :)
>  <https://msdn.microsoft.com/en-us/library/ff469527.aspx>
> 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