I do not know what the developers will do, but I don't have this problem. If I press the delete key the images are moved to trash and only if I press alt+delete will they be deleted. <span></span><br><br>On Friday, June 21, 2013, Elle Stone wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 6/20/13, Christoph Siedentop <<a href="javascript:;" onclick="_e(event, 'cvml', 'christoph@siedentop.name')">christoph@siedentop.name</a>> wrote:<br>
<br>
> is this running on Linux or Windows? Also what version of digikam are you<br>
> using?<br>
><br>
I'm using digiKam 3.2 running under Gentoo Linux.<br>
<br>
> This is of course not what should happen. But normally the operating system<br>
> protects files from being deleted.<br>
><br>
Alas it turns out to not be true that under Linux making a file<br>
"read-only" automatically protects the file from being deleted.<br>
"Read-only" only protects the file from being modified. If you own the<br>
folder the image is in, you can delete it. Try for yourself!<br>
<br>
Apparently under Windows you can make a file "read-only +<br>
do-not-delete", but not under Linux, because of the way Linux file<br>
permissions work.<br>
<br>
There is a workaround for this unfortunate situation, involving<br>
creating a new user, transferring ownership of the to-be-protected<br>
image files to the new user, and setting a "sticky bit" on all the<br>
folders that contain the files to be protected. This protects the<br>
image files from everyone (except the new user, and you need to "sudo<br>
su" to become the new user). So the regular user doesn't have to worry<br>
about accidentally deleting image files. If anyone is interested, I<br>
can post the relevant commands.<br>
<br>
It seems to me that having the option to delete images rather than<br>
merely send them to the trash is quite dangerous, nice to have for<br>
those who want it, but it should be something that can be disabled at<br>
will for those who don't want to run the risk. To prevent the<br>
accidental deletion of read-only files for those digikam users who<br>
never, ever use digikam to delete images, would the digiKam developers<br>
be willing to add the user option to completely disable the ability to<br>
delete files using digikam?<br>
<br>
Kind regards,<br>
Elle Stone<br>
_______________________________________________<br>
Digikam-users mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', '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>
</blockquote><br><br>-- <br>Christoph Siedentop<br>0176-399-422-45<br>