[Bug 34813] Re: gedit fails to save files over smbfs/cifs
@robie: Sorry for complicating things. I've run a new test on an installation of 9.10 following your directions. After creating the tar, I realized that I should have called my user something other than tmp. Let me know if this causes problems and I can re-run the tests, since the box is already set up. And thanks for looking at this!!! ** Attachment added: filterthisaway.tar.gz http://launchpadlibrarian.net/35670692/filterthisaway.tar.gz -- gedit fails to save files over smbfs/cifs https://bugs.launchpad.net/bugs/34813 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I've attached two strace logs in case anybody is interested. strace_first.log contains a strace of launching GEdit, opening a file over sshfs that had not been opened previously, making a change, successfully saving it, making another change, and being unable to save. strace_second.log contains a strace of launching GEdit, opening this file that had been opened over sshfs before, and getting an error on trying to save I'm on 9.04. In both tests, the Create a backup copy of files before saving as in the Editor preferences was checked. Unchecking this box solves this problem for me. The file I'm opening is /home/straceuser/stracedir/stracemnt/test.txt , where stracemnt is a sshfs fuse mount. I'm sure there are several people here, myself included, who would be willing to help troubleshoot this problem, if a dev was interested in un-triaging it. ** Attachment added: strace.tar.gz http://launchpadlibrarian.net/35512943/strace.tar.gz -- gedit fails to save files over smbfs/cifs https://bugs.launchpad.net/bugs/34813 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I think forking gedit is a little overboard. I am sure that a simple patch is all that is needed, and could be provided for those of us who need a resolution before the gedit dev's get around to fixing this. I even think that a gedit plugin could probably be written to provide the same functionality. The great thing about open source software is where there is a manifest need, and people determined to fix it, patching or adapting an existing application is really easy. And if the patch is good enough, it gets merged. -- gedit fails to save files over smbfs/cifs https://bugs.launchpad.net/bugs/34813 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Peter Würtz has already diagnosed the issue (in https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/34813/comments/20 and again in https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/34813/comments/40), so its not a mystery. A patch that would probably fix the issue has even been posted at http://bugzilla.gnome.org/show_bug.cgi?id=336738#c5 . There is just a lack of consensus as to whether the solution is better than the problem. -- gedit fails to save files over smbfs/cifs https://bugs.launchpad.net/bugs/34813 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Sorry to hear about the very serious deletion bug. As far as I can see, it is still open and set to high importance. I also understand your disaffection with gedit after such a problem, and sympathize with you. However, I wouldn't issue such a sweeping condemnation of gedit based so little information. If you read Peter's earlier comments, this bug is largely related to gedit's extremely conservative saving procedure, and its resolution has been delayed by a general desire to maintain the robustness of the saving protocol by not introducing race conditions. I have a hunch (which, by all rights, could easily be wrong) that 177710 is probably somewhat unrelated to the issues here. The dev's are usually good about fixing critical bugs like this. -- gedit fails to save files over smbfs/cifs https://bugs.launchpad.net/bugs/34813 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I just want to bump what Crashmaxx says. All that is necessary to reproduce this error is to mount a remote share to a folder with sshfs, and try to save with a modified file with Gedit. I just checked Emacs, KDevelop, and even OpenOffice Writer. All can open, read, and write a file over sshfs. Gedit cannot. I'm with Crashmaxx too, if there is anything I can do to make debugging this easier, I'm all for it! -- gedit fails to save files over smbfs/cifs https://bugs.launchpad.net/bugs/34813 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I also get the same problem in Fiesty w/ gedit. As a couple of the duplicate bugs indicate, the same problem exists with sshfs, which i believe is based on fuse, for what its worth. -- gedit fails to save files over smbfs/cifs https://bugs.launchpad.net/bugs/34813 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Above I meant to say that the problem exists in Gutsy... it is broken in fiesty though :) -- gedit fails to save files over smbfs/cifs https://bugs.launchpad.net/bugs/34813 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs