← Back to team overview

desktop-packages team mailing list archive

[Bug 34813] Re: gedit fails to save files over smbfs/cifs

 

My fstab already has this set as "smbfs" (not cifs), I already have the
backup option unchecked, and this is still a problem for me (and has
been on every Ubuntu installation I've ever had for the past five
years). It ONLY happens with gedit, and ONLY when saving to a Samba
filesystem.

The NAS (network attached storage device) that I use is a Data Robotics
DroboFS Pro. I use it to store files collaboratively across five or six
computers. On all other programs in Linux, as well as every program I
use on Mac OSX and any version of Windows, my files are stored and
retrieved just fscking fine. No problems.

So, when I hear people complaining about how this is a bug with Samba,
CIFS, NFS, Windows architecture, NetBIOS protocols, the Linux kernel,
underpants gnomes, whatever... I have to laugh, because this is clearly
a gedit bug. One that has been active for OVER FIVE YEARS.

I'm going to implement my own solution going forward: I'll simply use a
text editor that isn't total bullshit. But at any rate, maybe you guys
might consider fixing the problem rather than trying to defer blame onto
everyone else.

Here are some details. Hope they help.

Gedit version: 2.30.3

Ubuntu version: 10.04

Kernel version: 2.6.32-34-generic

Architecture: amd64

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

Status in Light-Weight Text Editor for Gnome:
  Confirmed
Status in SambaServer:
  Invalid
Status in SSHFS Mounter:
  Confirmed
Status in “gedit” package in Ubuntu:
  Triaged

Bug description:
  Saving files over a cifs/smbfs server doesnt work.  You can open file,
  edit then save perfectly.  But repeated saves after give you this
  error:

  "The file /home/dhonn/website/arrays.php has been modified since
  reading it.  If you save it, all the external changes could be lost.
  Save it anyway?"

  The think is lying to me because I havent made any external changes.

  When I click "Save Anyway", i get this error:

  "Could not save the file /home/dhonn/website/arrays.php."

  But on the third try it works just fine.

  Here are the error messages, btw there are also GUI glitches too:
  http://dhonn.com/images/gedit-0.jpg
  http://dhonn.com/images/gedit-1.jpg

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions