If you want to find a file and use the locate command you may get the error

{{
Locate error: database too small
}}

This likely means the database is 0 bytes because locate hasn't been run yet.  You can run it manually, but it should be run as user __nobody__.  To do this, run

{{
$ su -m nobody /usr/libexec/locate.updatedb
}}

----
[CategoryComputing.Linux.Shell]