Opening a file from a windows network share
Gerhard Schiller <[email protected]> Thu, 30 Sep 2010 10:05:10 +0200
| Newsgroups | gmane.comp.kde.devel.quanta.user |
|---|---|
| Message-ID | <1285833910.5698.17.camel@linux-s5x4> |
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