Trash contents invisible, if ~/.local/share/Trash is a symlink
Affected version
- at least 42.2
Steps to reproduce
- mv -v ~/local/share/Trash /media/encrypted/drive/
- ln -s /media/encrypted/drive/Trash/ ~/local/share/Trash
- Use Files to move a test file to Trash
- Use Files to look at Trash
Current behavior
The test files have been trashed correctly and you can see them with ls or the trash-list CLI utility, but you can't see them in Files.
Expected behavior
You should be able to also see them in Files, if you look into Trash.
Additional information
This is important, because trashed sensitive data should not move from encrypted drives to unencrypted home folders.