Comment 120 for bug 34813

Revision history for this message
Sean G (sean-gilbertson) wrote : Re: [Bug 34813] Re: gedit fails to save files over smbfs/cifs

Unless there are issues I'm not aware of, we could fix this by always
enabling the behavior triggered when enabling the "Create a backup copy of
files before saving" option, and then removing the capability for the user
to disable that functionality. (Note that this is a workaround that works
the last time I tried it, and is documented.)

It'd be an easy fix.

Sean

On Tue, Nov 10, 2009 at 11:41 PM, Sebastien Bacher <email address hidden>wrote:

> > Don't you want Ubuntu to integrate smoothly into a Windows-centric
> environment?
>
> using GNOME to edit smb document over gvfs mount works fine which is the
> recommended desktop way, the issue is with fstab command line mounts
> there
>
> > Linux *is* for power users.
>
> Good, so power users should know how to use an another editor or
> workaround the issue
>
> > Next, SAMBA is hardly a power user thing. If you're on ANY kind of
> network/LAN, you are no doubt using samba or the Microsoft equivalent of
> it.
>
> Right, that's why GNOME can mount smb shares in an easy way and editing
> txt using gedit works just fine there, the issue is when you use command
> line to mount samba mounts in a system specific way
>
> > but then refuse to fix things as it's much sexier to implement new
> features than work on bugs. Or my other favorite is how they throw back
> the "why don't YOU fix it and submit a patch".
>
> the comment is not very useful when you comment on a distribution bug
> tracker and not to the software writer and the issue is a lack of
> manpower one
>
> --
> gedit fails to save files over smbfs/cifs
> https://bugs.launchpad.net/bugs/34813
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> 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
>
>