[linux-cifs-client] Problems opening existing files over SMB to Windows servers since 2.6.30 or so

Jeff Layton jlayton at samba.org
Thu Feb 4 08:07:43 MST 2010


On Tue, 02 Feb 2010 13:13:33 -0500
Dale Blount <samba-lists at dale.us> wrote:

> Hi List,
> 
> I'm having some issues opening files from a linux client to a Windows
> server since 2.6.30 or so, could have possibly been earlier.   I've
> tried 2 different clients, both running Arch Linux and I can repeat the
> results using Windows 2003, Windows 2008 R2, and Windows 7 as the
> server.
> 
> I can create new files just fine, but editing existing files with
> nedit/gedit fails.  Editing existing files with vim/nano works as it
> should.
> 
> nedit gives "Error opening filename".
> 
> gedit will open the file but gives "Could not find the file filename"
> when trying to save.  You can then press cancel and then reload and the
> change was actually saved.
> 
> My fstab line for the mount:
> //172.21.21.254/Users/sambatest     /mnt/sambatest            cifs
> noauto,username=sambatest,uid=dale,forceuid=dale   0 0
> 
> Attached is a pcap of the session between these 2 hosts and the debug
> added to dmesg by running echo 7 > /proc/fs/cifs/cifsFYI.
> 
> Here is what I believe the same bug at nedit: 
> https://sourceforge.net/tracker/index.php?func=detail&aid=2904949&group_id=11005&atid=211005
> 
> and the gedit report:
> https://bugs.launchpad.net/gedit/+bug/34813
> 
> 
> Mounting cifs->samba on linux works fine, even with unix extensions
> disabled.
> 
> Anyone have a hint as to what's going on?
> 
> 

Is this problem affected at all if you mount with "-o noserverino" ?

-- 
Jeff Layton <jlayton at samba.org>


More information about the linux-cifs-client mailing list