Carlos E. R. wrote:
Ie, if I'm plain user john:users, I should have permissions to use locate on my "/home/john" directory, but not those of /root, and maybe yes, maybe not, those of "/home/ian", depending on group permissions.
--- I would say it should let you see the same files you can see with 'ls'.
If I am not root, and ls /root, I can see nothing.
OTOH, Just because I can't write to files in /usr/bin or whatever, doesn't mean I wouldn't want them to show up in a locate. Even if the files are unreadable -- if they are in a directory that is readable, then their names should appear on locate.
BTW I don't know if I remember seeing mlocate, but the permissions thing sounds familiar -- isn't it fairly buggy -- i.e it doesn't show you files you could otherwise do a find on?