On Mon, Aug 11, 2008 at 4:30 PM, Ariel <[EMAIL PROTECTED]> wrote: > > On Mon, 11 Aug 2008, James Youngman wrote: > >> On Mon, Aug 11, 2008 at 8:02 AM, Ariel <[EMAIL PROTECTED]> wrote: >>> >>> I don't want to install locate because that defeats the entire purpose of >>> having mlocate (or slocate) - not allowing uses to find files they can't >>> see. >> >> No, GNU locate has that feature, and ~always has. The index is built >> as "nobody" for precisely this reason. In fact GNU locate also >> supports slocate-format databases too, should you wish your index to >> be built as root rather than the default, nobody. > > Then why is slocate [still] used?
> And why isn't locate configured that way > as the default? > > Or is it that locate does not check the permissions when displaying names? I > couldn't find any mention of it doing that in the docs. The basic reason is that the upstream maintainer (me) didn't get round to it. A contributory factor is that there needs to be a sensible migration mechanism for the various distributions' packages and I don't know what the various distributions need to make that happen most smoothly. See http://article.gmane.org/gmane.comp.gnu.findutils.bugs/3133 James. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]