<div dir="ltr">You could completely rule out a (userland) software bug (either in digikam or one of its libraries) by running digikam with strace and seeing if there are any calls to unlink/unlinkat.<div><br></div><div>Try something like</div>

<div><br></div><div>strace -o /tmp/output.log -f /usr/bin/digikam</div><div><br></div><div>then try to reproduce the bug. After you close digikam, check that /tmp/output.log file and look for any calls that reference the file to try to figure out what happened (there should be at least some for opening the file and writing the metadata). If anything deleted the file explicitly there should be a call to "unlink" or "unlinkat".  If it's not there, then is either a kernel error or a hardware problem.</div>

<div><br></div><div>HTH.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 4, 2014 at 8:57 AM, ARKPhot <span dir="ltr"><<a href="mailto:a.klindt@gmx.net" target="_blank">a.klindt@gmx.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">FS is standard ext4<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://digikam.1695700.n4.nabble.com/Tagging-deletes-image-clueless-tp4669153p4669174.html" target="_blank">http://digikam.1695700.n4.nabble.com/Tagging-deletes-image-clueless-tp4669153p4669174.html</a><br>


<div class="HOEnZb"><div class="h5">Sent from the digikam-users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Digikam-users mailing list<br>
<a href="mailto:Digikam-users@kde.org">Digikam-users@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-users" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
</div></div></blockquote></div><br></div>