Hi all

I recently wanted to update my locate database so I followed the advice the top google hit and typed in this:

sudo /usr/libexec/locate.updatedb

the response was:

shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
find: .: Permission denied

(obviously I have checked and checked again that I typed in the correct root password)

now when I use locate I get no results for anything.

Would appreciate any help here. I am running Mac OSX 10.6

Thanks