Re: Opening a file from a windows network share

Gerhard Schiller <[email protected]> Fri, 01 Oct 2010 09:22:42 +0200
Newsgroups gmane.comp.kde.devel.quanta.user
Message-ID <1285917762.13246.4.camel@linux-s5x4>
Hello,

thanks for your reply!
Great, that it worked for you too, I was not sure if it was specific to
my setup...

I did some further tests and now i'm confident the problem is with the
samba / cifs suite.
I'm going to open a bug on bugzilla.samba.org

Gerhard


Am Donnerstag, den 30.09.2010, 09:41 -0700 schrieb Ruben Ordonez:
> Hello
> 
> Thanks for finding that workaround Gerhard.  I used that "noserverino" 
> option in my fstab file and it did the trick.
> 
> On 09/30/2010 01:05 AM, Gerhard Schiller wrote:
> > Hi To All,
> >
> > I think, I found the underlying problem and a workaround.
> >
> > The problem is NOT with Quanta. What fail's is a call to stat()
> > in .../kdelibs-3.5.10/kate/part/katebuffer.cpp openFile().
> >
> > There is a confirmed bug in stat() on cifs-mounted files.
> > See http://bugs.php.net/bug.php?id=51266
> >
> > Strange thing is, I found no other reports than on a PHP site???
> >
> > However, the workaround given there works:
> > "Adding cifs option "noserverino" solves the problem."
> >
> > So I changed the line in /etc/fstab from:
> >
> > //10.110.13.172/intranet$ /mnt/idefix/intranet cifs
> > credentials=/etc/samba/.credentials_for_idefix_intranet,rw,uid=gerhard,gid=users,dir_mode=0755,file_mode=0664 0 0
> >
> > to:
> >
> > //10.110.13.172/intranet$ /mnt/idefix/intranet cifs
> > credentials=/etc/samba/.credentials_for_idefix_intranet,noserverino,rw,uid=gerhard,gid=users,dir_mode=0755,file_mode=0664 0 0
> >
> > Would be nice to here from you, if it worked for you too!
> >
> > Gerhard
> >
> >
>