Trash can not work all directory

Hi Community

I have a mounted directory (separate partition and a symbolic link in /home/michael/Data) in my HOME directory. I cannot move files from a directory below this directory /home/michael/Data to the trash. I can only permanently delete this data.

See the attached dialog box with this error.

From the directory /home (separate partition), I can either delete files completely or move them to the trash.

How can I get the trash to work again in all directories under my HOME directory?

$ ls -lad /home/michael/Daten
lrwxrwxrwx 1 michael michael 33 Jun 27  2025 /home/michael/Daten -> /mnt/share/userdata/michael/Daten

$ df -h
Dateisystem                     Typ  Größe Benutzt Verf. Verw% Eingehängt auf
/dev/mapper/VGsystem-LVroot     ext4   40G     26G   12G   70% /
/dev/mapper/VGsystem-LVhome     ext4   20G    7,2G   12G   39% /home
[...]
/dev/mapper/VGsystem-LVphoto    ext4  344G    195G  133G   60% /mnt/share/photo
[...]
/dev/mapper/VGsystem-LVuserdata ext4   25G    7,0G   17G   30% /mnt/share/userdata

Greetings

Michael

Hi,

Is this something which used to work and now for some reason doesn’t work anymore?

Hi poljpocket

Yes, it used to work.

I can’t change the configuration of the trash can with regard to the directories in the file manager (Dolphin) (see screenshot).

Do you need any more information, perhaps from a trash configuration file?

Can you please post kinfo’s output for your system?

Do you remember if there was an update between it working and now?

And yes, ~/.config/ktrashrc would be of interest. I have to be honest, I don’t know much about multiple trash locations like your setup. But maybe we can triage this to someone who can dig something out of all the information we get.

1 Like

potentially related was a bug in kio_trash that might have been “fixed” and is now causing some networked drives to not create the .Trash-0 folder at all.

1 Like

kinfo:

Operating System: KDE neon User Edition
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1
Kernel Version: 6.14.0-37-generic (64-bit)
Graphics Platform: Wayland
Processors: 20 × Intel® Core™ i5-14600
Memory: 64 GiB of RAM (62.4 GiB usable)
Graphics Processor: Intel® Graphics
Manufacturer: LENOVO
Product Name: 30H0005TGE
System Version: ThinkStation P3 Tiny

$ cat ~/.config/ktrashrc

[/home/michael/.local/share/Trash]
Days=7
LimitReachedAction=1
Percent=3
UseSizeLimit=true
UseTimeLimit=false

[/mnt/share/photo/.Trash-1000]
Days=7
LimitReachedAction=0
Percent=3
UseSizeLimit=true
UseTimeLimit=false

Hi Community,

I have now tried adding an additional entry (last entry “/home/michael/Data/.Trash-0”). I have created the folder “/home/michael/Data/.Trash-0” with subfolders.

$ tree /home/michael/Daten/.Trash-0
/home/michael/Daten/.Trash-0
├── files
└── info

Configuration file for the trash can /home/michael/.config/ktrashrc

[/home/michael/.local/share/Trash]
Days=7
LimitReachedAction=1
Percent=3
UseSizeLimit=true
UseTimeLimit=false

[/mnt/share/photo/.Trash-1000]
Days=7
LimitReachedAction=0
Percent=3
UseSizeLimit=true
UseTimeLimit=false

[/home/michael/Daten/.Trash-0]
Days=7
LimitReachedAction=0
Percent=3
UseSizeLimit=true
UseTimeLimit=false

I logged out of KDE and logged back into the desktop, but unfortunately it didn’t work. In the directory /home/michael/Data, I still couldn’t move any folders or files to the trash can.

Is there anything else I can try to get the trash can working again?

Greetings

Michael

Hi,

Should I open a bug report (under which heading) at bugs.kde.org ?

Or is there an error on my part?

Best regards

Michael

Bugreport 515634 report opened.