Bug 241018 - saving remote file with kate deletes it.
Summary: saving remote file with kate deletes it.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 0.2
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-07 16:11 UTC by Urtzi Jauregi
Modified: 2013-12-31 20:48 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Urtzi Jauregi 2010-06-07 16:11:06 UTC
Version:           0.2 (using KDE 4.4.3) 
OS:                Linux

I am editing with Kate a remote file I accessed via ssh. Whenever I save with CTRL + S, the file stays on the disk but becomes a length 0 file. Repeated saves do not change this; one has to delete the file externally, then save as usual.

Saving to a new file name works OK. The problem arises whenever you save to a pre-existing file name.

Reproducible: Always

Steps to Reproduce:
- Open a remote folder with SSH with Nautilus;
- OPen a text file with Kate;
- Edit and save with CTRL + S: Kate will create an empty file;


Actual Results:  
The file you wanted to save becomes a 0-length file. Delete empty file, then save again: file gets correctly saved.

Expected Results:  
The file should be normally saved.

OS: Linux (x86_64) release 2.6.34-020634rc7-generic
Compiler: cc
Using Kate on GNOME 2.30.1, on stock Ubuntu Lucid.
Comment 1 FiNeX 2010-08-10 23:00:24 UTC
And what does it happen if you try to open the file not using nautilus but konqueror/dolphin ?
Comment 2 Urtzi Jauregi 2010-08-11 13:18:43 UTC
Exactly the same behavior under Konqueror. It seems to be a Kate issue.
Comment 3 FiNeX 2010-08-11 19:50:23 UTC
Another question: would you like to try to open the file using the "Open" file dialog in dolphin?

Thanks for the feedback!!! :-)
Comment 4 rainer_vierlefantz 2010-10-20 09:31:32 UTC
I do see exact the same problem since i did update ubuntu to 10.10. Also its impossible so save proper if the drive mounted by smb
OS: Linux (i686) release 2.6.35-22-generic-pae
Kate: 3.5.1 at KDE 4.5.1
Comment 5 Christoph Cullmann 2011-06-25 20:31:11 UTC
I use ssh urls regularly, cant reproduce this issue, save just works for existing and new files here.