2

When I accidentally delete a file in nautilus by pressing delete I normally can press Ctrl+z immediately afterwards to undo the action.

However, this seems to only work in my home directory. Whenever I work on a mounted partition I cannot "undo" a delete action.

How to fix this?

mcExchange
  • 3,088
  • 1
    This may depend whether Trash is enabled on that filesystem. Does your problem seems similar to this? https://askubuntu.com/questions/75154/cannot-move-file-to-trash-warning-when-trying-to-delete-a-file-in-nautilus – FedKad Apr 29 '20 at 08:53
  • The accepted answer looks a bit evolved and rather suited for NTFS partitions. I guess setting the uid=1000 option during the mount command in my /etc/fstab might do the trick, currently it is mounted like this: /dev/sda1 /media/data ext4 defaults 0 0 I will try this, once the partition is not in use anymore – mcExchange Apr 29 '20 at 09:50
  • where I would replace defaults with rw,suid,dev,exec,auto,user,async according to https://wiki.debian.org/fstab – mcExchange Apr 29 '20 at 09:57
  • FYI: Trash is working now on /media/data (mounted partition) – mcExchange May 11 '20 at 07:57

0 Answers0