Cannot move files to trash on mounted partitions

Why can’t I move files to trash on mounted partitions? I can move files to trash from home directory or from desktop without any problem. My desktop environment is LXDE if that was important in any way. I use the following mount options in gnome-disks. Am I missing something?

https://i.postimg.cc/J0KsW-ZKx/2019-08-22-192706-686x537-scrot.png

Well, this is a bit confusing. Files on your home directory are also on a mounted partition (either on /home if you have a separate partition for it, or on /) and files “from the desktop” are also files in your home directory.

You probably mean some extra file systems you have mounted. Probably of a non-Linux file system type.

Can you please show the parameters/options with which it is mounted?

mount | grep '/mnt'

Hi
Likely the /mnt/DATA isn’t writable by the user as it’s probably trying to create a /mnt/DATA/.trash<userid> or does it ask to permanently delete the files?

mount | grep '/mnt'
/dev/sda7 on /mnt/DATA type ext4 (rw,nosuid,nodev,relatime,x-gvfs-show)

Both are ext4 partitions, one mounted to “/” (trash works), second mounted on “/mnt/DATA” (trash doesn’t work).

It asks to delete files permanently.

Permissions are set as follows:

me@linux-x7eu:/mnt> ls -l
celkem 4
drwxr-xr-x 3 me users 4096 23. srp 12.09 DATA

UPDATE: the command

gio trash <filename>

Seems to work fine. Could that be an issue with pcmanfm file manager then?

UPDATE 2: solved… after a quick google search about pcmanfm, I found an article about settings in pcmanfm that makes it delete files instead of moving them to trash. What confused me was that it said “the filesystem does not support moving files to trash” so I was looking in the wrong place the whole time.