/var/lib/mlocate/mlocate.db perms

Patrick O'Callaghan pocallaghan at gmail.com
Mon May 4 11:47:09 UTC 2015


On Sun, 2015-05-03 at 17:47 -0600, jd1008 wrote:
> > [egreshko at meimei ~]$ ll /bin/locate
> > -rwx--s--x. 1 root slocate 40528 Aug 18  2014 /bin/locate
> I distrust suid programs.
> I find it strange that a security minded system needs an suid
> program to do something as simple as locate a file.

To locate the file it needs to be able to read the directory tree.

poc



More information about the users mailing list