Re: [Samba] Rename to open file doesn't work, why?

2008-07-30 Thread Wilhelm Meier
Am Montag, 28. Juli 2008 schrieb Jeremy Allison: > On Mon, Jul 28, 2008 at 07:02:52AM +0200, Wilhelm Meier wrote: > > Am Montag, 28. Juli 2008 schrieb Michael Heydon: > > > Wilhelm Meier wrote: > > > > > > > > On a local linux filesystem like ext2/3 one can rename a file > > > > to an existing, al

Re: [Samba] Rename to open file doesn't work, why?

2008-07-28 Thread Jeremy Allison
On Mon, Jul 28, 2008 at 07:02:52AM +0200, Wilhelm Meier wrote: > Am Montag, 28. Juli 2008 schrieb Michael Heydon: > > Wilhelm Meier wrote: > > > > > > On a local linux filesystem like ext2/3 one can rename a file to > > > an existing, already open file. > > > > > > But this doesn't work on a cifs

Re: [Samba] Rename to open file doesn't work, why?

2008-07-27 Thread Wilhelm Meier
Am Montag, 28. Juli 2008 schrieb Michael Heydon: > Wilhelm Meier wrote: > > > > On a local linux filesystem like ext2/3 one can rename a file to > > an existing, already open file. > > > > But this doesn't work on a cifs-mounted samba-share > > > > The reason this works with ext2 is that as long

Re: [Samba] Rename to open file doesn't work, why?

2008-07-27 Thread Michael Heydon
Wilhelm Meier wrote: On a local linux filesystem like ext2/3 one can rename a file to an existing, already open file. But this doesn't work on a cifs-mounted samba-share The reason this works with ext2 is that as long as you hold an open file descriptor a deleted file is still accessib