Re: Problems opening existing files over SMB to Windows servers since 2.6.30 or so

Jeff Layton <[email protected]>
Newsgroups gmane.linux.file-systems.cifs
Message-ID <[email protected]>
On Tue, 02 Feb 2010 13:13:33 -0500
Dale Blount <[email protected]> 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 <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.