D15180: kioexecd: watch for creations or modifications of the temporary files
Jaime Torres Amate
noreply at phabricator.kde.org
Fri Aug 31 09:36:14 BST 2018
jtamate created this revision.
jtamate added reviewers: Frameworks, broulik, ngraham, dfaure.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
jtamate requested review of this revision.
REVISION SUMMARY
When a non KIO friendly program opens a non local file, the file is copied to an user temporary folder.
Watch any creation or modification in that temporary folder. In that way, even with programs that delete the old file and create a new one when saving the file, the user is asked if he wants to upload the modified file.
Delete recursively the temporary directories and any file they could have in the destructor.
BUG: 397742
TEST PLAN
Tested logging out and in several times and opening remote files with xed and libreoffice.
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D15180
AFFECTED FILES
src/kioexec/kioexecd.cpp
src/kioexec/kioexecd.h
To: jtamate, #frameworks, broulik, ngraham, dfaure
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180831/e11568ae/attachment.html>
More information about the Kde-frameworks-devel
mailing list