Skip to content

Files are permanently deleted without warning/confirmation when they cannot be trashed, especially $HOME

Version information

Software Versions:

  • XFCE 4.20
  • Thunar 4.20.2

OS: Debian 6.12.22-1 (2025-04-10)

Steps to reproduce

(WARNING) Do the following steps only with a newly created test-user account

  1. Switch users / login with the newly created test-user
  2. By default, "Home" and "Trash" icons should be visible on the desktop
  3. Drag the "Home" icon on the desktop into the "Trash" icon to trigger trashing via dbus service

Current behavior

All files in your user's $HOME directory have been recursively deleted permanently!

Expected outcome

The operation should result in a pop-up notifying the user that they cannot move the file/directory to trash, as is the case when trashing the home directory by dragging it into the Thunar sidebar.

Additional information

A new user accustomed to the Windows paradigm of shortcuts, or one who mistakenly presses the delete key on their $HOME directory may lose all their data easily this way.

Edited by Shawn Henson