Describe the bug
Delete (to Trash) fails when ~/.local/share/Trash and the file are on different filesystems (EXDEV)
To Reproduce
Steps to reproduce the behavior:
- Go to '/tmp/' (only if mounted on tmpfs) or to a different device
- Create a file, like
touch delete-me.txt
- Lanch spf and try to delete it
- See error: deleting failed
Expected behavior
The file is moved in Trash folder
Screenshots
49704 renameat(AT_FDCWD, "/tmp/delete-me.txt", AT_FDCWD, "/home/sherpya/.local/share/Trash/files/delete-me.txt") = -1 EXDEV (Invalid cross-device link)
System information (please complete the following information):
- OS: Linux
- superfile Version 1.5.0