[Pkg-samba-maint] Bug#519829: mount.cifs: No such file or directory error while writting to previously opened file

Steve Langasek vorlon at debian.org
Mon Mar 16 06:15:57 UTC 2009


On Sun, Mar 15, 2009 at 04:42:00PM +0100, Benoit Panizzon wrote:
> Linux Users which mount files via mount.cifs experience a very strange
> problem I have been trying to find for the last couple of days.

> If they use a text editor like vi or nano (kwrite is also affected) which
> does not seam to open and lock the file exclusively, they can open the
> file, but as soon as something is changed and the user tries to save the
> file they get such an error:

> Error writing /path/to/file/on/smb/server: No such file or directory

> Saving under a different name and then renaming the file overwriting the
> original one works perfectly.

> Also deleting, creating, renaming, piping data to the file works as
> expected.

Could you try setting 'debug level' to 5 on the server, and send a log
corresponding to the error in question?

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org





More information about the Pkg-samba-maint mailing list