One important aspect of locate is that a standard user will see similar results as the root user. Even though the standard user can see the files, they still can not execute or write to any file they do not have the proper permissions for. So if the standard user issues a search for httpd.conf they will see the /etc/httpd/conf/httpd.conf file because the permissions on the file are -rw-r--r-- (which means the standard user has read permission). So the results of the search for httpd.conf (regardless of user) will look like this:
/httpd.conf/
etc/httpd/conf/httpd.conf
/etc/httpd/conf/httpd.conf.save
But how did we come to this output? Simple. By issuing the command locate httpd.conf.