← Back to team overview

desktop-packages team mailing list archive

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

 

This bug also effects the geany editor when saving over cifs.

1. Open a file and modify it
2. Save it
3. Modify it some more
4. Save
5. BAM! File has been modified dialog. Usually the time difference between local and remote is 1 second.

My cifs server is Ubuntu 10.04 and my client machine is 10.10. Anyone
know of a workaround? Is this a server problem or a client problem?

-- 
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