trash-cli icon indicating copy to clipboard operation
trash-cli copied to clipboard

Don't show entries from bind mounts

Open rieje opened this issue 2 years ago • 3 comments
trafficstars

Is your feature request related to a problem? Please describe. trash-list shows entries from bind mounts, resulting in multiple entries for the same file.

Describe the solution you'd like Don't show entries from bind mounts in order to avoid duplicate entries.

rieje avatar May 18 '23 19:05 rieje

@Sadi58 thank you for your contribution, please create a new issue when you need to explain a different problem. I created a new issue with your comment #341 and I deleted the comment your made in this issue.

andreafrancia avatar Apr 02 '24 20:04 andreafrancia

@rieje please submit an example of what actually happen on you machine.

andreafrancia avatar Apr 02 '24 20:04 andreafrancia

Sorry for late reply.

I have bind mounted ( from /etc/fstab):

/home/rieje/downloads /home/rieje/.firejail/downloads

I trashed /home/rieje/downloads/file.mp4. In trash-list it shows duplicate entries:

2024-10-26 16:31:15 /home/rieje/downloads/file.mp4
2024-10-26 16:32:11 /home/rieje/.firejail/Downloads/file.mp4

It would be more appropriate to only show:

2024-10-26 16:31:15 /home/rieje/downloads/file.mp4

rieje avatar Oct 26 '24 20:10 rieje