Bug 208606 - Dolphin deleting files from media
Summary: Dolphin deleting files from media
Status: RESOLVED DUPLICATE of bug 76380
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-26 15:33 UTC by Dmitry Yakovlev
Modified: 2020-08-05 17:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Yakovlev 2009-09-26 15:33:03 UTC
Version:           1.3 (using 4.3.1 (KDE 4.3.1), Arch Linux)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.30-ARCH

Regardless of the location of the file to remove it, there is only one operation "Move to trash", which is not quite correct when operating in the external media, or non-local file systems.
Comment 1 Frank Reininghaus 2009-09-26 18:39:06 UTC
Thanks for the report.

What exactly is not correct about "Move to Trash" when using external media?
Comment 2 Dmitry Yakovlev 2009-09-27 10:33:00 UTC
   Case 1 (temporary data): I use a flash drive to transfer data from one machine to another, ie as a temporary intermediate storage.
     The question, why should I in a local trush data what deleted from the temporary carrier knowingly?
     This is the same if at system shutdown files in "/tmp" were transported in a basket, instead of delete.
   Case 2 (security and privacy): On the same disk are time-sensitive privacy data. Working on someone else's mashine, I need to remove them.
     Instead, the file manager will bring them to the trush foreign mashine.
  Sorry for my English.
Comment 3 Frank Reininghaus 2009-09-28 13:53:57 UTC
Thanks for the clarification.

Please note that you can enable a "Delete" command for the context menu in the settings. You can also delete files permanently by pressing Shift-Delete.

Concerning case 1: 

> The question, why should I in a local trush data what deleted from the
> temporary carrier knowingly?

I don't really see the difference between local and non-local temporary data here. If you create a temporary file locally and delete them "knowingly", you might also not want to move them to the trash, right? If the data are not on the same disk partition as your home directory, "Move to trash" might also be an expensive operation in that case. Just use the "Delete" command then.

Concerning Case 2:

> Case 2 (security and privacy): On the same disk are time-sensitive privacy
> data. Working on someone else's mashine, I need to remove them.
> Instead, the file manager will bring them to the trush foreign mashine.

Dolphin cannot know if the data on the external drive belongs to the same person as the trash. Usually, both will have the same owner, so it will make sense to move deleted data to the trash for safety.

If you want to delete private data, just don't use "Move to trash" on another person's computer. Note that even only mounting a drive with private data at an untrusted computer is a big security risk. It will probably access the data without notice for thumbnailing and other purposes.

Anyway, there was an earlier wish to change the trash/delete behaviour for external media, I'll mark it as a duplicate.

*** This bug has been marked as a duplicate of bug 188032 ***
Comment 4 Claudius Ellsel 2020-08-05 17:04:09 UTC

*** This bug has been marked as a duplicate of bug 76380 ***