On OS X, I think the locate DB is populated by running:
But locate does not seem to find anything in or below ~/
Should locate.updatedb be indexing my home folder by default? If so, any suggestions or ideas why it is not? If it doesn't index ~/ by default, are there any reasons to not index this folder hierarchy? If not, how do I configure it to do so?
Also, when I run locate.updatedb from ~/ (as non-root) it works. When I run it from anything below (for example, ~/Desktop/) I get the following errors:
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied find: .: Permission denied