Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Spotlight does this too' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Spotlight does this too
Authored by: mzso on Jan 06, '09 12:21:50PM

As for Spotlight's inability to find items that are only root-accessible: I suppose you meant that FAF can do that. That would be quite a thing.
File permissions are meant to restrict access regardless of what API or method you use to access the filesystem. If your app can circumwent file permissions, then the Mac OS X kernel got a pretty large whole.
If your app asks for proper credentials to find files with root-only access permissions, then it's no more clever than "find" (which can be run with su or sudo using root privileges). I don't know what user credentials does Spotlight's indexer run with (maybe not root ... since otherwise it would find any file, even the ones that are accessible only by root ... I don't use Spotlight), but I bet it can be modded to use "root".

[ Reply to This | # ]
Spotlight does this too
Authored by: leamanc on Jan 07, '09 06:05:57AM

The hint states that it requires an admin password to sudo-to-root to find those system files, so there's not a big security hole in the kernel.

I haven't tried the app yet, but I think many of you guys are missing the point. This app doesn't do everything 'find' does, it doesn't do everything 'locate' does, and it doesn't do everything Spotlight does. But it does do some unique things in (apparently) a very fast fashion, by using inherent features of the HFS+ filesystem that Apple themselves do not exploit anymore. This is similar to the Find File feature of the classic Mac OS, which many of you will remember was amazingly fast, even on disks full of gigabytes of data.

[ Reply to This | # ]