"Cannot move file to trash, do you want to delete immediately?" on EXT4 partitions

Asked by den

Hi , when i delete a file where is in another partition than " / " or mounted in /media/xxxx , i obtain this message .

how can i use trash again please ?

iznobe@iznobe-PC:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p2 during installation
UUID=eb18366b-2ac9-4a7e-8f93-ba2caa30e90e / ext4 noatime,errors=remount-ro 0 1

# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=C071-9050 /boot/efi vfat defaults 0 0

# swap was on /dev/sdc3 during installation
UUID=61218fe2-0bd1-4ada-9dd3-5ec996a02456 none swap sw,pri=1 0 0

# partition de données separée comune aux OS linux
UUID=01c9b796-0869-4ff9-a2a1-6c0f56ed5257 /datas ext4 defaults 0 0
LABEL=WD8 /Vidéos/WD8 ext4 defaults 0 0
#/dev/disk/by-label/WD8PRO2 /media/WD8PRO2 ext4 defaults 0 0

LABEL=WD8PRO2 /Vidéos/WD8PRO2 ext4 defaults 0 0

LABEL=WD8PRO1 /media/WD8PRO1 ext4 defaults 0 0
LABEL=Seagate_4T /media/Seagate_4T ext4 defaults,noauto 0 0

trash is working for filesysteme mounted on /media/WD8PRO1 but not in FS mounted on /Vidéos/WD8PRO2 and /Vidéos/WD8 using ubuntu 22.04.1 LTS .

Revision history for this message
Manfred Hampl (m-hampl) said :
#1

As a first step I suggest that you run a file system check on the additional filesystems (when unmounted).

Revision history for this message
den (iznobe) said (last edit ):
#2

ok but my file system is working well .

the only things not working is the trash .
the problem with trash is encountered with multiple file systeme on multiple disks .

i do a fsck -fyv on all partition ext4 format monthly .

i ' ve done a fsck of all partitions ( ext4 ) and no errors was found .

i' ve exactly same problem with trash on Linux Mint 21 .

Tested with ubuntu 20.04 and all works fine . so this problem is only with new ubuntu version .

Others persons have same bug on their ubuntu 22.04.X and it works correctly on ubuntu 20.04.x

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

You could try checking with trash-cli whether deleting (and restore or full-delete) works from command line, or throws an error message that then can be chased further.

Can you help with this problem?

Provide an answer of your own, or ask den for more information if necessary.

To post a message you must log in.