pauldreik / rdfind

find duplicate files utility
Other
980 stars 79 forks source link

This should never happen. FIXME! #124

Open SimonMcN opened 2 years ago

SimonMcN commented 2 years ago

When running rdfind as a non privileged user got the following error when I did not have permission to traverse the directory structure. when running as root problem went away.

This is rdfind version 1.4.1

rdfind -deleteduplicates true 1/ root/1/

Now scanning "1", found 84752 files. Now scanning "root/1"Dirlist.cc::handlepossiblefile: This should never happen. FIXME! details on the next row: possiblefile="root/1/Main" , found 0 files. Now have 84752 files in total.

bordenc commented 1 year ago

It seems that rdfind needs a clearer way of testing r/w access and communicating to the user that it doesn't have access to certain files instead of panicking and throwing a generic error message.