[kmymoney] [Bug 425752] Failure while writing GPG encrypted .kmy to network share (cifs)

Thomas Baumgart bugzilla_noreply at kde.org
Fri Jan 1 21:22:30 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=425752

--- Comment #10 from Thomas Baumgart <tbaumgart at kde.org> ---
Thanks for the feedback. Now we see a bit better what is going on. KMyMoney at
this stage removes the file 'XYZ.kmy' and then copies the temporary file to
this location. For whatever reason, erasing the file works, but copying fails.
The code can be found at
https://invent.kde.org/office/kmymoney/-/blob/master/kmymoney/plugins/xml/xmlstorage.cpp#L539
 The second time around, it does not use a temporary file but the real file
right away and does not need to do the remove/copy magic because the file does
not exist (anymore - was deleted in the first round). So I don't think it is a
timing issue either. 

Looking at the code, I think it is not related to the encryption but should
also happen with a regular file. 
@TobIs: Can you try this without encryption but using the same network
environment?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list