[wplug] searching lots of dirs?

Eric Cooper ecc at cmu.edu
Sun May 8 12:43:13 EDT 2005


On Sun, May 08, 2005 at 12:06:43PM -0400, Doug Green wrote:
> Hey all- just read the man page for locate, and am building the locatedb
> file for my system (the file didn't exist, so I ran locate.updatedb). As the
> file is being built, a number of directories are returning permission
> errors... I ran the command from my user account- should I have done this as
> root?

On Debian, it's run by a cron job as user "nobody".  There are
lots of permission errors, but they're redirected to /dev/null.
That way, locate doesn't let users see more than they're supposed to.
If you don't care about that, you can run it as root.

-- 
Eric Cooper             e c c @ c m u . e d u


More information about the wplug mailing list