meven created this revision. meven added reviewers: Frameworks, dfaure. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. meven requested review of this revision.
REVISION SUMMARY Previously when cancelling a copy the ioslave would continue. The file copy job would then remove the file. The dest file being removed would cause an IO error in the slave resulting in warnings such as : kf5.kio.kio_file: Could not change permissions for "... kf5.kio.kio_file: Couldn't preserve group for "... kf5.kio.kio_file: Couldn't preserve access and modification time for "... Preserve clean up of intermediate file copy leftover. TEST PLAN Copy a file, cancel the copy -> the destination file is cleaned Copy a file, overwriting another -> the .part intermediate file is cleaned REPOSITORY R241 KIO BRANCH master REVISION DETAIL https://phabricator.kde.org/D25117 AFFECTED FILES src/core/filecopyjob.cpp src/core/filecopyjob.h src/ioslaves/file/file_unix.cpp src/ioslaves/file/file_win.cpp To: meven, #frameworks, dfaure Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns