Bug 302059 - Kate can't delete local copy when saving remote files
Summary: Kate can't delete local copy when saving remote files
Status: RESOLVED WORKSFORME
Alias: None
Product: kde-windows
Classification: Miscellaneous
Component: network and files (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: KDE-Windows
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-17 13:41 UTC by Daniel Nebdal
Modified: 2013-07-12 21:27 UTC (History)
2 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 Daniel Nebdal 2012-06-17 13:41:28 UTC
When editing a file over sftp with kate, it saves fine, but then complains that it "Could not delete file c:/users/daniel/appdata/roaming/.kde/tmp-djn8-i5rc/katetR5420.tmp." (or similar).

Reproducible: Always

Steps to Reproduce:
1. Browse some remote protocol with dolphin
2.Open with -> kate
3. In kate, press save.
Actual Results:  
Saves fine, but pops up an error dialog - and indeed, the temp file isn't deleted.

Expected Results:  
No error dialog, temp file deleted.

KDE 4.8.0, Kate 3.8.0 , on Windows 8 release preview. Not tested on other remote protocols. Running as admin doesn't change anything.
Comment 1 Patrick Spendrin 2012-06-18 07:50:17 UTC
Yeah, this is likely because a file handle is still opened. I'll try to find out where this comes from. But I currently have problems using sftp at all.
Comment 2 Jekyll Wu 2013-07-12 14:43:44 UTC
Can't reproduce using  KDE SC 4.10.2 in windows 7. Please try recent release to see whether the problem still exists.
Comment 3 Andrius 2013-07-12 21:27:13 UTC
I had this same problem in earlier version, also worksforme with current version, files are saved normally in remote SFTP server.