If get errors from the locate command about having to run updatedb, check the permissions on /system/locate. They should be 755.