[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: locatedb is world readable



I think you think I said 'world writable'? I don't want normal users to be able to _read_ that file (unless through the locate command, which will not allow other users' files from being printed).

Regards,
dave

Rem wrote:
lusig1:~# ls -l /var/cache/locate/
total 1460
-rw-r--r--  1 root root 1489507 Jan  7 06:29 locatedb
lusig1:~#
On Fri, 07 Jan 2005 15:44:46 +0700, David Garamond
<lists@zara.6.isreserved.com> wrote:

/var/cache/locate/locatedb is world readable. Is this the correct
default? Can it be made so only certain users have file-level access to
it? (In Redhat there's 'slocate' group and the locate command is setgid
to that group.)

Regards,
dave



Reply to: