[Bug 34813] Re: gedit fails to save files over smbfs/cifs
This bug also affects me. For another bug, I created instructions on how to reproduce my samba setup via docker: https://gitlab.gnome.org/GNOME/gedit/-/issues/322#steps-to-reproduce This might help reproducing this bug. ** Bug watch added: gitlab.gnome.org/GNOME/gedit/-/issues #322 https://gitlab.gnome.org/GNOME/gedit/-/issues/322 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34813 Title: gedit fails to save files over smbfs/cifs To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
This bug also affects Ubuntu 19.10 with $ gedit -V gedit - Version 3.34.0 $ sshfs -V SSHFS version 2.10.0 FUSE library version: 2.9.9 fusermount version: 2.9.9 using FUSE kernel interface version 7.19 $ uname -r 5.3.0-46-generic $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 19.10 Release:19.10 Codename: eoan I can not confirm what @elatllat was saying 2 years ago. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34813 Title: gedit fails to save files over smbfs/cifs To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
On Ubuntu 19.10 it fails saying "Cannot handle “file:” locations in write mode. Please check that you typed the location correctly and try again." -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34813 Title: gedit fails to save files over smbfs/cifs To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Yes this seems to be resolved now. > gedit -V gedit - Version 3.28.1 > sshfs -V SSHFS version 2.8 FUSE library version: 2.9.7 fusermount version: 2.9.7 using FUSE kernel interface version 7.19 > uname -r 4.15.0-20-generic > cat /etc/issue Ubuntu 18.04 LTS \n \l -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34813 Title: gedit fails to save files over smbfs/cifs To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
** Changed in: gedit Status: Confirmed => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34813 Title: gedit fails to save files over smbfs/cifs To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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 Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34813 Title: gedit fails to save files over smbfs/cifs To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
This might be similar to the Virtualbox/gedit fails to save bug (https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/341725) which I suspect is caused by glib and the way it saves to a temporary file, then renames without closing the file. The bug has been recorded as: https://bugzilla.gnome.org/show_bug.cgi?id=656225 ** Bug watch added: GNOME Bug Tracker #656225 https://bugzilla.gnome.org/show_bug.cgi?id=656225 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34813 Title: gedit fails to save files over smbfs/cifs To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
The problem still exists in Ubuntu 13.10 (Linux 3.11.0-20-generic x86_64) with gedit 3.8.3-0ubuntu3 My fstab: //ourserver.local/myshare /mnt/mymount cifs uid=1001,file_mode=0600,dir_mode=0700,credentials=/myhome/.smbcredentials,iocharset=utf8,sec=ntlm,nounix 0 0 I found an interesting link which assumes that the reason is a time- synchronization problem: https://forums.gentoo.org/viewtopic-t-495454-start-0.html#3567475. This makes sense since our NAS is a Netgear ReadyNAS with a time drift of ~20s per day and NTP doesn't seem to work on it. Latter means that I cannot do any serious tests on it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34813 Title: gedit fails to save files over smbfs/cifs To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I have the same problem in Oracle Linux 5 and 6; CentOS 5 and 6 and in RedHat 5 Here is how to reporoduce the error /etc/fstab //192.168.1.100/Oracle /mnt/Oracle cifs username=orcl,password=orcl 0 0 /dev/sda1 /mnt/sda1 ntfs defaults 0 0 When you save a file to /mnt/Oracle or /mnt/sda1, gedit immediately wants you to reload it. If you reload, you lost your ability of undo any changes prior to the save, if you don't do what gedit wants, you may end up with an empty file "Save Anyway" But if you save the file to any Linux partition such /u01/app/oracle... gedit works fine -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34813 Title: gedit fails to save files over smbfs/cifs To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
** Changed in: gedit (CentOS) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34813 Title: gedit fails to save files over smbfs/cifs To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
** Bug watch added: CentOS Mantis #6339 http://bugs.centos.org/view.php?id=6339 ** Also affects: gedit (CentOS) via http://bugs.centos.org/view.php?id=6339 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34813 Title: gedit fails to save files over smbfs/cifs To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Still happening on 12.10. Users can loose whole text files when trying to save changes with gedit! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34813 Title: gedit fails to save files over smbfs/cifs To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Ok this is getting nasty. The latest experience with this bug (Ubuntu 11.10) when trying to edit/save a textfile is a dialog popping up, telling me that gedit is unable to save the file. If you decide to close the editor for some reason now, the file is completely gone. You didn't just loose your changes, you lost the complete text file. There might be an invisible ~backup file around, but from a users point of view, the file is gone. Can we please make that bug critical? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34813 Title: gedit fails to save files over smbfs/cifs To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
switched to kate ... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34813 Title: gedit fails to save files over smbfs/cifs To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
well said Crates, I also opted to use a different editor (vim) as a solution a long long time ago. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34813 Title: gedit fails to save files over smbfs/cifs To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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 Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34813 Title: gedit fails to save files over smbfs/cifs To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
update: Solved my own problem. Simply changing the fstab entry from type cifs to smbfs fixed the problem for me. Not ideal but it works. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34813 Title: gedit fails to save files over smbfs/cifs To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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 Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34813 Title: gedit fails to save files over smbfs/cifs To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
2006-2011 ... oh crap -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34813 Title: gedit fails to save files over smbfs/cifs To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Please note that this bug affects more than just gedit - similar bugs have been reported against other applications, including eclipse: see https://bugs.eclipse.org/bugs/show_bug.cgi?id=137011 Because of this, I think the priority should be increased! ** Bug watch added: Eclipse bugs #137011 https://bugs.eclipse.org/bugs/show_bug.cgi?id=137011 -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I'm using Ubunto 10.10 and the bug, with gedit and a fstab mounted CIFS share, is still there. Steps to reproduce (the usuals): - create a new file with gedit in the remote share - type something - Ctrl+S to save - type something - Ctrl+S to save: bug happens! And to all the people/developers saying we should use gvfs+cifs... well, I'll do it when I'll get the same performances as with kernel mode CIFS (50MB/s (fifty) against 6MB/s (six)) -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
** Changed in: gedit Importance: Unknown => Medium -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
** Tags added: metabug -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
** Tags added: patch -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
@Id2ndR >From a quick look, I think this is the patch I used. I've not checked it. ** Patch added: "0001-smbfs-sshfs-save-problem.patch" https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/34813/+attachment/1497537/+files/0001-smbfs-sshfs-save-problem.patch -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
It appears that this bug is fix for cifs mount in 2.30 (according to https://bugzilla.gnome.org/show_bug.cgi?id=336738#c35). I still encountered this bug using sshfs with 2.30 (Ubuntu 10.04). So I'm not sure that the sshfs and cifs/smbfs trouble is the same one and maybe there should be 2 separate bugs. I also would like to know if the patch applied in Robie Basak's package can still be use for gedit 2.30 ? The patch isn't attached to this bug, so where can I grab 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
This happens with vboxsf mounts as well. Affects Nautilus too as mentioned in bug 323091. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
There seems to be a regression issue here. I have never had issues with gedit and sshfs, until I recently upgraded from 9.10 to Lucid Alpha 3. Now my gedit will not save any file over sshfs, although any other editor does just fine. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Robie, I can confirm that this package also fixed the problem for me on 9.10. Thanks for the fix!!! -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Robie, would love to have you here so that I could give you a big hug :D After spending some time on this, I found your comments here and can confirm that your package fixes the issue for me on 9.10. I am using the same user folders (Documents, Pictures, Music, etc) between Ubuntu and Windows (through Virtualbox's shared folders) and that was a pain. Thanks! -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 34813] Re: gedit fails to save files over smbfs/cifs
Robie, Thanks for taking the time to review my log files. I believe i am guilty of not reading the details and understang that you have already created a patch for this problem. I shall give your patch a try. Cheers, Tim Pezarro Manager, Web Services tim_peza...@pmc-sierra.com Phone: +1-604-415-6044 Cell: +1-604-762-1000 Fax: +1-604-415-6602 PMC-Sierra, Inc. 8555 Baxter @lace Burnaby, BC, Canada V5A 4V7 - Original Message - From: boun...@canonical.com To: Tim Pezarro Sent: Wed Nov 18 14:48:24 2009 Subject: [Bug 34813] Re: gedit fails to save files over smbfs/cifs @acabre and @tim pezarro: Both of your strace files suggest the the problem is the same as the one that I fixed in a patch for the Intrepid package in 2008. Please try these packages for 9.10: i386: https://launchpad.net/~racb/+archive/fixes/+files/gedit_2.28.0-0ubuntu2~basak1_i386.deb amd64: https://launchpad.net/~racb/+archive/fixes/+files/gedit_2.28.0-0ubuntu2~basak1_amd64.deb -- 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. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
@acabre and @tim pezarro: Both of your strace files suggest the the problem is the same as the one that I fixed in a patch for the Intrepid package in 2008. Please try these packages for 9.10: i386: https://launchpad.net/~racb/+archive/fixes/+files/gedit_2.28.0-0ubuntu2~basak1_i386.deb amd64: https://launchpad.net/~racb/+archive/fixes/+files/gedit_2.28.0-0ubuntu2~basak1_amd64.deb -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Hello, I have also added a strace file for the error I experience. This is the error message for the file "samba_error.txt" "Could not save the file /media/webteam pezarro/tmp/samba_error.txt. Unexpected error: Text file busy" The attached zip file "gedit-error.zip" has strace log called "filterthisaway.log" and mount listing called "mounts.txt" I hope this helps correct the gedit bug. Cheers, ** Attachment added: "gedit-error.zip" http://launchpadlibrarian.net/35766591/gedit-error.zip -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
@acabre: Thanks for the strace file. This is exactly what is needed but unfortunately there's a small issue. Because gedit seems to be aware of the file the strace output was being redirected to, my instructions included filtering out all mentions of the word "strace" from the log. Except that you called your mountpoint and directories strace too which I wasn't expecting. So the messages that I actually needed got filtered out too. Could you please do it again, but this time use a command like this: strace gedit 2>&1|grep -v filterthisaway > /tmp/filterthisaway.log ...and make sure that you don't mention the word filterthisaway anywhere else. Thanks Robie -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
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 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 > > -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
> 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 member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 34813] Re: gedit fails to save files over smbfs/cifs
Thanks for that I was about to reboot to do just that; because of this problem I use OS X for my laptop ATM On Tue, Nov 10, 2009 at 10:25 PM, acabre wrote: > 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 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 > > -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I did post a patched version a long time ago that worked for some people but it was for Intrepid so is now out of date. I'm still running Intrepid so that makes it difficult for me to help. It appears to me that there is more than one bug if a fix works for some but not for all. This makes the issue very confusing to a developer to fix. Can I suggest that anyone who still has the bug does the following; Install strace if it isn't already installed Close all gedits >From a terminal, run: "strace gedit 2>&1|grep -v strace > /tmp/strace.log" In the gedit that runs, do as little as possible to reproduce the fault As soon as the fault occurs, go back to the terminal and press Ctrl-C to stop the logging immediately Then post the files /tmp/strace.log and /proc/mounts making sure that they don't contain any confidential information you don't want to reveal, as well as the filename and location that you were saving to so the logs can be searched easily. strace.log will be quite large. This information is essential for a developer to figure out what is going on without just guessing. I can't promise anything though - the amount of effort required all depends on the results. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Sebastien, your comment made me laugh. Linux *is* for power users. My grandmother or parents or even sister (who is on myspace all day long) would not use Linux. Anyone using gedit is most likely a power user as well because if they were just a "dumb user" typing a paper for school or a letter to a friend, they would be using Open Office write or some email front end or website front end to enter the text. 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. Lastly, the damn bug is THREE years old and NO other program has this problem. This is just typical of Linux developers. They always want to claim it's a desktop replacement and how great it is over Windows or OS-X, 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". -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
> There is thousands of bugs opened every months and limited ressources to work on those and smbfs is a power user thing and not something most users will experience with when using ubuntu See comment #108: Don't you want Ubuntu to integrate smoothly into a Windows-centric environment? See Bug #1. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
> That fact it has been >three years is stunning. There is thousands of bugs opened every months and limited ressources to work on those and smbfs is a power user thing and not something most users will experience with when using ubuntu you are welcome to work on the change though there -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I'm seeing this behavior with a fresh install of 9.10 (64bit) . It is incredibly irritating. That fact it has been >three years is stunning. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Changing to triaged -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Changing to triaged ** Changed in: gedit (Ubuntu) Status: Confirmed => Triaged ** Changed in: gedit (Ubuntu) Milestone: ubuntu-9.04 => None -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
The issue is not the bug settings but the lacks of person having the issue and wanting to look at the bug rather -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
So, in summary: - Affects the default text editor - Open for 3.5 years now (!!!) - Over 100 comments... - Gedit blames CIFS. CIFS (and VirtualBox) blames Gedit. From virtualbox.org: Q: I get an error "Unexpected error: Text file busy." when trying to edit a file. A: When using gedit, this can happen on shared folders. This is a bug in gedit, not VB. Use a different editor. I'm working in a Big Organization with a CIO who's a Windows Lover. I've used virtualization to get around SafeBoot and other Windows-only garbage. I now have access to all the tools I know and love... *except* the text editor. Ye gods! Don't you want Ubuntu to integrate smoothly into a Windows-centric environment? See Bug #1. I agree with the many others who are stuck with this problem. This bug needs to be upgraded to Importance: High. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
RE: [Bug 34813] Re: gedit fails to save files over smbfs/cifs
Hello, I believe the fix below does not work in all cases. I continue to get this error: "Could not save the file /media/directory_name/pezarro/t...save_error_workaround.txt Unexpected error: Text file busy" Here are the details for the cifs mount: //filer_name/filer_folder /media/directory_name cifs credentials=/root/.smbcredentials,workgroup=MyWorkGroup,uid=1000,gid=100 1,file_mode=0777,dir_mode=0777,rw I am running Ubuntu 8.10. If migrating to Ubuntu 9.4 was thought to remedy my trouble, I would certainly try it. I quite like gedit and it would be nice to be able to use it error free with my cifs mount. Another workaround is to use a different text editor such as Gvim. Cheers, > -Original Message- > From: boun...@canonical.com [mailto:boun...@canonical.com] On > Behalf Of Sean G > Sent: Wednesday, July 22, 2009 1:50 PM > To: Tim Pezarro > Subject: [Bug 34813] Re: gedit fails to save files over smbfs/cifs > > Note that there is a preference in Gedit that fixes this > issue (Edit > Preferences > Editor > Create a backup copy of > files before saving). > > Solution documented here: > http://blog.linuxtoday.com/blog/2009/05/gedit- > wont-save.html > > -- > 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. > -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I believe the fix below does not work in all cases. I continue to get this error: "Could not save the file /media/directory_name/pezarro/t…save_error_workaround.txt Unexpected error: Text file busy" Here are the details for the cifs mount: //filer_name/filer_folder /media/directory_name cifs credentials=/root/.smbcredentials,workgroup=MyWorkGroup,uid=1000,gid=1001,file_mode=0777,dir_mode=0777,rw I am running Ubuntu 8.10. If migrating to Ubuntu 9.4 was thought to remedy my trouble, I would certainly try it. I quite like gedit and it would be nice to be able to use it error free with my cifs mount. Another workaround is to use a different text editor such as Gvim. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Note that there is a preference in Gedit that fixes this issue (Edit > Preferences > Editor > Create a backup copy of files before saving). Solution documented here: http://blog.linuxtoday.com/blog/2009/05/gedit- wont-save.html -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
> only ... for people ... doing mounts using fstab In other words: a lot of people. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
> It affects anyone who works or plays on servers. it's not a security issue nor a crasher and only an issue for people not using GNOME to access vfs locations but rather doing mounts using fstab there -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Some days ago I thought it is a good idea to use cifs/smbmount instead of the gnome VFS to access our Debian based Samba shares (samba version is 3.0.24-6etch4). I am using Ubuntu 9.04. - Cannot save files with gedit - When opening .odt with Open Office, the seem to be opened readonly. - The same operations work fine, when accessing the share using gnome-vfs -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
how is this Importance="Low"? It affects anyone who works or plays on servers. 90% of linux users IMO ** Changed in: sshfs-mounter Status: New => Confirmed -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
We're also seeing this issue on Eclipse, Geany, and Emacs, and gVim. https://bugs.launchpad.net/gedit/+bug/34813/comments/39 also noticed this on other applications. How can this bug be confirmed to gvim only? -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
** Changed in: gedit (Ubuntu) Milestone: ubuntu-9.04-beta => ubuntu-9.04 -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
@Robie: I tried your latest package, but it doesn't change this (buggy) behavior for me. I am running Ibex and editing files on a Buffalo NAS drive mounted in fstab with cifs (and my used id). Any idea what the reason might be? -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I get the same dependency error, but when I check synaptic package manager, it says it's installed. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Does anyone knows if there is a fix for hardy? When I try to install it says: Error: Dependency is not satisfiable: libglib2.0-0 -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Robie, I'm trying to patch gedit on my work computer, but the link to your patch package is broken. Could you re-upload this? Thanks -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Justin, The URLs with PPAs have changed. Use: https://launchpad.net/%7Eracb/+archive/ppa/+files/gedit_2.24.2-0ubuntu2~basak1_i386.deb https://launchpad.net/%7Eracb/+archive/ppa/+files/gedit_2.24.2-0ubuntu2~basak1_amd64.deb -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Robie, Sorry for the late reply, it's been a while since I've had my laptop at work. Yes, your patch fixed the problem for me. Too bad they can't include this as an option in the default source =/ Thanks for your help! -Scott -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I installed the patch, and it seems to have remedied the issue. Thanks a bunch. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Justin, Does my package fix the problem for you? My patch is just adapted from Red Hat's patch. This removes the assumption that a file can be renamed while it is open by closing files first before renaming them during the save process. On a normal Unix filesystem this is permitted. On Windows, for example, it isn't. If my package does not solve your problem, then I think we are talking about two different bugs. Robie -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
This is purely speculation, but I think I know the reason why this bug occurs. I've been getting this problem constantly over the past few days. I'm using SSHFS to mount my remote web server, which has of late been a fairly high-latency connection. I have a feeling that this has something to do with the way gedit handles modified stamps. I think that the modified stamp on files aren't set until they are finished saving, and because it's a high-latency mount, saving takes a few moments. When I start trying to edit the file again, gedit checks to see if the file has been modified by checking stamps, but since I "saved" a few moments ago, and the modified stamp says that it happened once the file finished saving on the remote end, it thinks there was an edit. The only way I could conceive of this being fixable is if gedit has a configuration option to disable checking the modified stamp, or ignores what it perceives to be recent "modifications." -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Robie - Thanks for the patched version, works a treat! Let's hope the Gedit team merge this fix, even if they have to implement it as an 'checkbox option' as someone suggested above This bug's been bugging me since 7.10, 8.04 it was intermittent, and when I moved to 8.10 I was disappointed to see it was still there. Cheers ;) -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I still have the issue in intrepid with gedit over sshfs. It works allright when I switch off 'Create a backup copy before saving'. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
** Changed in: gedit (Ubuntu) Status: Incomplete => Confirmed Target: None => ubuntu-9.04-beta -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I got the issue in intrepid without my patch. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
does anybody still get the issue in intrepid or jaunty? ** Changed in: gedit (Ubuntu) Status: Triaged => Incomplete -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Thanks cwillu, I understand now. I was confusing gio with native kernel- based mounts. I was able to replicate the first part of the original bug as reported, but clicking "Save Anyway" always works for me. I have patched gedit with an updated version of the patch that Brent mentioned above. The error goes away. Please try: amd64 https://launchpad.net/%7Eracb/+archive/+files/gedit_2.24.2-0ubuntu2~basak1_amd64.deb i386 https://launchpad.net/%7Eracb/+archive/+files/gedit_2.24.2-0ubuntu2~basak1_i386.deb -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 34813] Re: gedit fails to save files over smbfs/cifs
@Robie Iirc, the gio pathway is unrelated to this bug: an sshfs mount is a 'local' mount (which is the root of the problem). Saving files to gnome sftp:// and smb:// file urls works fine (which is why some of us users stopped caring about this bug years ago :p). If that's correct, then it's completely appropriate to not treat gio urls differently, to do otherwise would just introduce a bug in _that_ system. On Wed, Dec 24, 2008 at 9:38 AM, Robie Basak wrote: > Unable to reproduce with gedit 2.24.2-0ubuntu1 and sshfs to an rsync.net > account. Saving seems to work fine, regardless of whether the backup > before saving option is selected or not. > > The fix that Brent mentions appears to be for a previous version of > gedit from comment #5 in the gnome bug, which modifies how files are > saved. gedit 2.42 has two mechanisms to save files - local and gio (ie. > sshfs/cifs) - presumably to address this issue - so that patch will no > longer work (it would apply to local saves, not remote saves). -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Unable to reproduce with gedit 2.24.2-0ubuntu1 and sshfs to an rsync.net account. Saving seems to work fine, regardless of whether the backup before saving option is selected or not. The fix that Brent mentions appears to be for a previous version of gedit from comment #5 in the gnome bug, which modifies how files are saved. gedit 2.42 has two mechanisms to save files - local and gio (ie. sshfs/cifs) - presumably to address this issue - so that patch will no longer work (it would apply to local saves, not remote saves). -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
** Also affects: sshfs-mounter Importance: Undecided Status: New -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I have just slammed into this myself and wasted several hours trying to debug 'sshfs' thinking that was gone haywire. I usually use Eclipse PDT and my files saved fine. Then I was starting a new project, but didn't want the bloat of Eclipse just yet while I copied files into directories and modified basic template parameters. My files would save the very first time, but subsequent saves weren't working. I tried setting them to "666" and the upstream dirs to "777" and still it failed. I noticed that if I deleted the files from an ssh terminal, then clicked save in gedit they worked every time. The only other thing I noticed was there was a ~ (backup) file. I then turned that option off in gedit's preferences and now it saves all the time. I can also edit and save from my desktop to the sshfs files with VIM no problemo (although I don't use ~ backup files on there either, so this may be a red-herring) So this is certainly a strange bug with gedit and NOT sshfs. I use Ubuntu 8.10 with all current updates. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 34813] Re: gedit fails to save files over smbfs/cifs
Thanks Darko, but this isn't a solution, it's a work-around. I am using GEdit because a) I am very familiar with it and b) I have LaTeX setup with it exactly the way I like. At this point in time, switching to another text editor (regardless of whether I would ultimately think it was better than GEdit or not) is not an option. >From what I gather, the problem seems to be that the GEdit devs have chosen their way of saving files because they are convinced it is more efficient. Maybe this is the case. I know that GEdit prides itself on having few options and many sensible defaults, but maybe this issue is large enough that it would warrant a checkbox in the preferences dialog so that the user can choose which method of saving they prefer. The code bloat due to adding an option like this would be minimal; the biggest hit would be in the user-interface, which I do understand is an issue with the devs, but sometimes defaults just aren't enough. -Scott On Fri, Dec 5, 2008 at 3:19 AM, Darko Vrsic <[EMAIL PROTECTED]> wrote: > Scott Armitage wrote: > >> Or, alternatively, a GEdit plugin that I can install? This is greatly >> hindering my work right now and I have several end-of-semester reports >> due in the near future =/ >> >> -Scott >> >> >> > Hi Scott! > > I had the same problem you have. Because all this bug fix take too long I > found the alternate solution which is maybe even better than bug fix for > Gedit. I'm using different default editor Geany which in my opinion is > better than Gedit. You could of course use any other in many available > editors. As I understand only Gedit have problem with saving over cifs. > > I forgot how I've changed default editor but I believe you have to change > line in "~/.local/share/applications/defaults.list" to > "text/plain=geany-usercustom.desktop". I'm sure you'll find solution on the > internet if that is not enough. > > > > Darko > -- Scott Armitage, B.A.Sc., M.A.Sc. candidate Space Flight Laboratory University of Toronto Institute for Aerospace Studies 4925 Dufferin Street, Toronto, Ontario, Canada, M3H 5T6 -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 34813] Re: gedit fails to save files over smbfs/cifs
Scott Armitage wrote: > Or, alternatively, a GEdit plugin that I can install? This is greatly > hindering my work right now and I have several end-of-semester reports > due in the near future =/ > > -Scott > > Hi Scott! I had the same problem you have. Because all this bug fix take too long I found the alternate solution which is maybe even better than bug fix for Gedit. I'm using different default editor Geany which in my opinion is better than Gedit. You could of course use any other in many available editors. As I understand only Gedit have problem with saving over cifs. I forgot how I've changed default editor but I believe you have to change line in "~/.local/share/applications/defaults.list" to "text/plain=geany-usercustom.desktop". I'm sure you'll find solution on the internet if that is not enough. Darko -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Or, alternatively, a GEdit plugin that I can install? This is greatly hindering my work right now and I have several end-of-semester reports due in the near future =/ -Scott -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I too am experiencing this problem -- am not going to report versions etc. since the cause and solution are already known. Unfortunately, disabling backups did not work for me. Are there any custom DEBs out there that have a patch applied for this? -Scott -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I had this issue as well, I found this workaround, http://chrisnicholls.ca/2008/03/22/using-gedit-over-sshfs-or-smbcifs-without-being-annoyed/ Just disable the 'Create backup of files before saving' feature. Fixed for me on 8.04. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I am also having this bug on SSHFS filesystem. So it surely not a samba bug. It IS a gedit bug. If I delete the file that I want to save, it saves. If it exists - aka: I save it again - It fails. No matter if there is a backup or not. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I just noticed this bug still exists on Ubuntu 8.04 with the most recent updates as of the time of posting. I did a bunch of digging around on Google to see if there was any fix or workaround and came up empty. I did notice that Red Hat seems to have fixed the problem in RHEL 5 (http://rhn.redhat.com/errata/RHBA-2008-0019.html). Since it seems that this is solvable when can we expect Ubuntu to have a solution? -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
closing the upstream samba task there since it doesn't watch any bug ** Changed in: sambaserver Status: New => Invalid -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
those comment are not really useful there, there is enough users who confirmed the bug now what is required is somebody working on the issue rather -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Alejandro's fix doesn't work for me; I use Ubuntu 7.10 and have the problem with sshfs. I switched to another editor for that purpose... :-( -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Alejando Dubrovsky's fix for sshfs solved the gedit problem for me. It seems pretty silly that the gedit devs would place a restriction on you that the filesystem/os should handle. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I found a work-around that works for me (for files on a mounted smb share, with gedit 2.22.1) Its a plugin that can be found here: http://chrisnicholls.ca/code/gedit-plugins/ It moves the original file to a temp directory and then saves the file. DISCLAIMER: I did not write the plugin, just found it on google. Use the plugin at your own risk, it may not work in your case or damage your files or whatever. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I think there are two different bugs overlapping in this ticket. Over sshfs, gedit and anjuta (on gutsy and hardy), fail to save and display a message with something like 'You cannot save ...'. The problem and the message go away if the remote filesystem is mounted with sshfs -o uid=$UID. This seems to indicate that gedit and anjuta are checking the owner and permission bits of the file before trying to write instead of actually trying to save the file. The issue on smbfs with file modified times might be a different issue altogether. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I'm back... I've posted my latest related Hardy results here: https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/177710 The issue STILL exists in Hardy - just like it occured in Gutsy. - B -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I am sure this is not a proper way to fix it but I don't know enough about gedit to trace this all the way. From what I can tell though the error spawns in gedit-local-document-saver.c and it doesn't occur in vi: if (lsaver->priv->doc_mtime > 0 && statbuf.st_mtime != lsaver->priv->doc_mtime && ((saver->flags & GEDIT_DOCUMENT_SAVE_IGNORE_MTIME) == 0)) { g_set_error (&lsaver->priv->error, GEDIT_DOCUMENT_ERROR, GEDIT_DOCUMENT_ERROR_EXTERNALLY_MODIFIED, "Externally modified"); goto out; } I've tried setting ahead and behind times on both server but I still keep getting the error. Finally I commented out the entire if statement and rebuild gedit. Works fine now but I am definitely missing out on time stamp changes. Right now it's so frustrating though and I love the editor so until gedit team has an official fix this will do. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
I am sure this is not a proper way to fix it but I don't know enough about gedit to trace this all the way. From what I can tell though the error spawns in gedit-local-document-saver.c and it doesn't occur in vi: if (lsaver->priv->doc_mtime > 0 && statbuf.st_mtime != lsaver->priv->doc_mtime && ((saver->flags & GEDIT_DOCUMENT_SAVE_IGNORE_MTIME) == 0)) { g_set_error (&lsaver->priv->error, GEDIT_DOCUMENT_ERROR, GEDIT_DOCUMENT_ERROR_EXTERNALLY_MODIFIED, "Externally modified"); goto out; } I've tried setting ahead and behind times on both server but I still keep getting the error. Finally I commented out the entire if statement and rebuild gedit. Works fine now but I am definitely missing out on time stamp changes. Right now it's so frustrating though and I love the editor so until gedit team has an official fix this will do. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
** Also affects: sambaserver Importance: Undecided Status: New -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
This is stopping me working properly on Hardy Beta! Someone fix the bug already! -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Unfortunately I am getting a lot more experience with this bug. I think the following points summarize the factors the combine to produce this bug: 1. the network share must reside on a Windows file server (or maybe another non-Unix-type file system). 2. the network file sharing protocol is cifs (and/or sshfs according to other related bugs). 3. the Linux clients run gedit, Geany, Vim, Eclipse or any other Linux app that attempts to move/rename an open file. And in Ubuntu Hardy, smbfs also seems to cause the same problem that cifs does. I think the prior comments make it clear that the gedit devs don't plan to fix this bug. Neither do the cifs devs. So anyone waiting for the devs to get around to fixing it may have a long wait. (Also, if you read the above comments you'll see that at least one patch has been submitted but it isn't favored by the devs.) -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
See proposal here: http://ubuntuforums.org/showthread.php?t=738168 (Peter Würtz, let's get in touch with each other. Please contact me through my profile at ubuntuforums.org.) -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Peter Wuertz has made some good suggestions. Why haven't they been considered? Peter said: (a) if backup enabled: - copy, not move the original file to a backup file - reset file pointer, overwrite the original file in-place (b) if backup disabled: - reset file pointer, overwrite the original file in-place or just tell the user that gedit is not able to backup the file and proceed with method (b) anyways if the user agrees My opinion is that the developers don't like the idea of copying the complete file as a backup because copying isn't "efficient." However, that is a poor reason for not resolving this bug. Just do as Peter suggests and make a copy of the file! Many, many editors do that already and the performance hit is not noticeable at all. (Other editors give the user config options, as Peter also suggests.) Please fix this! Like many people have said, ALL my documents are on Windows shares. So this is a big deal for me and a lot of people like me. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
This particular bug, at least on Ubuntu Hardy beta, does prevent saving files. Under cifs on Gutsy, it was reported that files could be save after clearing the error message and retrying (maybe more than once). Under Hardy I can't make that work. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 34813] Re: gedit fails to save files over smbfs/cifs
Please note the similarities with bug #125887. Same message. Happens only on alien filesystems. 125887 does not prevent saving files, though. Would this problem happen on FAT32 too? Wouldn't it be a time saver to analyze both problems at the same time. -- 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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs