GNOME Bugzilla – Bug 753065
gedit cannot handle file: locations in write mode - again
Last modified: 2015-08-01 08:43:44 UTC
Created attachment 308471 [details] screenshot gedit no longer allows saving files over sshfs/gvfs After upgrade from fedora 21 to 22 gedit no longer allows to save files open over sshfs/gvfs and returns error: Could not save the file "...". Cannot handle "file:" locations in write mode. Please check that you typed the location correctly and try again. Please fix it as otherwise I will have to go back to vi which works fine so for me it is a crtical bug. The directory is linked symbolically: CUX -> /run/user/1000/gvfs/sftp:host=z20/home/pliszka/CUX
OK, so it works, the message shows when the sftp connection times out. It is a bit misleading so I downgraded it to enhancement but you may close it as well.
(In reply to Jacek Pliszka from comment #0) > Please fix it as otherwise I will have to go back to vi which works fine > so for me it is a crtical bug. "This program comes with absolutely no warranty."
Well, I have to change it again - it does not work and restarting sftp connection does not help. This bug makes gedit rather unusable with sftp connections that needs to be reconnected. vi works fine. But geany does not work either. So it is probably upstream GNOME bug/gvfs.
kate works as well
OK, I found workaround - I mounted directory with sshfs - no problems there. As this problem is also with geany - it is an upstream gvfs bug. If someone could send it to the proper team.
This is a duplicate of bug 748106. However, the fuse backend is a fallback mechanism intended for programs that do not use GIO. Since gedit can use GIO and works fine with sftp in that manner, I'd recommend you use it like that. E.g. add a bookmark to your sftp mount (sftp://z20/) and then access the file like that. *** This bug has been marked as a duplicate of bug 748106 ***