/home/users directory on my host is an NFS mount connected to a server which is not in my control. When deleting files in
/home/users/foo) with Nautilus I get the following message:
Cannot move file to trash, do you want to delete immediately?
The file "..." cannot be moved to the trash.
Is there some way to enable trash for this mount point?
I don't have write access to the root of the partition I have write access to the partition, but even after creating the expected
/home/users/.Trash-$(id -u) and setting the sticky bit, Nautilus still fails to use the trash.
When reading this question and the Trash Specification I found that
$HOME/.local/share/Trash is the standard location (unless
$XDG_DATA_HOME is set), and it looks like Nautilus is only half-aware of this: It does indeed write a
$HOME/.local/share/Trash/info/[filename]<.number>.trashinfo every time I try to delete a file, but the files are all empty and I still keep getting the error message.