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

Re: problems with locate



There is a second possibility.  The file you are looking for is in a
directory which is not readable and executable by world.  updatedb is
run by nobody, which doesn't have any real permissions.  Running
updatedb as root will allow everyone's files to be listed, even if the
directory are not world readable.  There is a version of updatedb which
is being investigated which records all files, with permissions.  The
corresponding locate only releases information which is accessible by
the user.  Of course, the database is larger.


--
Kevin Dalley
kevind@rahul.net


Reply to: