Add warning for searching the complete file system
Review Request #104826 - Created May 2, 2012 and discarded
In my company it regularly happens that some "non technical" person, e.g. a secretary or a marketing guy tries to find a file he or she has no idea where it is placed. When they use kfind to search the complete file system without using locate this pretty much means a DOS attack on our company network with loads of NFS shares etc. Searching the complete filesystem is nearly always wrong but as users are used to it from "Search my Computer" or other indexed search options they might not realize it. This Patch adds a confirmation dialog if you want to search / or file:/// recursively without using locate warning you that this might take a very long time and is a resource intensive operation
Compiled, tested with regular paths, as well as / and file:///
Let me first say that i have absolutely nothing to say about this. I do have an opinion about this though. I would not like this. If i'm searching i just want to search and certainly don't get a dialog just to confirm my search. Others might think differently though... Perhaps as an option but disabled by default.