Steps to reproduce:
Add a directory, search, delete duplicate
Result :Failed to delete file /home/eric/Pictures/PHONE/Camera/Monique/marc.jpg, reason Error during a trash operation: Unknown { description: "Neither '/proc/mounts' nor '/etc/mtab' could be opened." }
The error references /proc/mounts, but :
ls in terminal : $ ls -l /etc/mtab
lrwxrwxrwx 1 root root 19 okt 19 2022 /etc/mtab -> ../proc/self/mounts
Terminal output (optional):
$ czkawka
12:18:16.395 [INFO] czkawka_core::common: Czkawka version: 6.1.0, was compiled with release mode
(czkawka_gui:12903): GLib-GIO-WARNING **: 12:18:16.644: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)
12:18:16.693 [INFO] czkawka_gui: Set thread number to 8
Debug log
<!--
Add terminal output only if needed - if there are some errors or warnings or you have performance/freeze issues.
Very helpful in this situation will be logs from czkawka run with RUST_LOG environment variable set e.g.
`RUST_LOG=debug ./czkawka` or `flatpak run --env=RUST_LOG=debug com.github.qarmin.czkawka` if you use flatpak, which will print more detailed info about executed function.
-->
Bug Description Failed to delete duplicate files
Steps to reproduce: Add a directory, search, delete duplicate Result :Failed to delete file /home/eric/Pictures/PHONE/Camera/Monique/marc.jpg, reason Error during a
trash
operation: Unknown { description: "Neither '/proc/mounts' nor '/etc/mtab' could be opened." }The error references /proc/mounts, but : ls in terminal : $ ls -l /etc/mtab lrwxrwxrwx 1 root root 19 okt 19 2022 /etc/mtab -> ../proc/self/mounts
Terminal output (optional):
$ czkawka 12:18:16.395 [INFO] czkawka_core::common: Czkawka version: 6.1.0, was compiled with release mode
(czkawka_gui:12903): GLib-GIO-WARNING **: 12:18:16.644: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2) 12:18:16.693 [INFO] czkawka_gui: Set thread number to 8
System