On 12/1/2014 8:57 AM, David F. Skoll wrote:
On Mon, 01 Dec 2014 08:51:26 -0800
Ted Mittelstaedt<t...@ipinc.net> wrote:
Locate will not show files that a user has set private (or root
has set private like /usr/local/certs/machineprivatekey.key
On my system, updatedb lets you set a flag to permit that
(the "--require-visibility no" option.)
No such option on FreeBSD. Of course, you can run
/usr/libexec/locate.updatedb as root user and get this effect. (with a
warning message issued by the script, the script author put a check in
there for that trick)
chmod 400 on /find-listing.txt is probably safer, though!
Ted
Regards,
David.