← Back to team overview

desktop-packages team mailing list archive

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

 

My use case is a Mint 17.x VM using a VirtualBox vboxsf to a Win8.1
host.  I had this same problem in Geany and it was driving me insane
until I found
http://wiki.geany.org/config/all_you_never_wanted_to_know_about_file_saving
and then "Edit > Prefs > Various > use_atomic_file_saving: checked"
fixed it for me.  Be sure to read the URL as there are implications.
Obviously this does not fix Gedit but it may be an acceptable work-
around for some people.

-- 
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 gedit:
  Confirmed
Status in Samba Server:
  Invalid
Status in SSHFS Mounter:
  Confirmed
Status in gedit package in Ubuntu:
  Triaged
Status in gedit package in CentOS:
  New

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