Folder can be renamed with an open file inside the same folder from different client
Volker Lendecke
Volker.Lendecke at SerNet.DE
Tue Oct 1 12:57:47 MDT 2013
On Tue, Oct 01, 2013 at 07:01:26AM -0700, Richard Sharpe wrote:
> On Tue, Oct 1, 2013 at 4:16 AM, Shilpa K <shilpa.krishnareddy at gmail.com> wrote:
> > Hello,
> >
> > Renaming a folder succeeds in the following scenario when it should
> > actually fail:
> >
> > 1. Client 1 has opened the file temp.doc which is present in the
> > directory TESTDIR
> >
> > 2. Client 2 tries to rename the directory TESTDIR to DIR1 and it
> > succeeds.
> >
> > On the other hand, if the windows client tries to rename a directory from
> > client 2 wherein client 1 has opened a file under that directory, the
> > operation results in access denied. Samba also sends access denied error
> > when we try to rename the directory from the same client where the file is
> > opened under it.
>
> OK, this sounds like a bug. Please file a bug in bugzilla.samba.org.
It is a bug. It's just really hard to fix efficiently given
our inode-based databases.
Volker
--
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
http://www.sernet.de, mailto:kontakt at sernet.de
*****************************************************************
visit us on it-sa:IT security exhibitions in Nürnberg, Germany
October 8th - 10th 2013, hall 12, booth 333
free tickets available via code 270691 on: www.it-sa.de/gutschein
******************************************************************
More information about the samba-technical
mailing list