Re:Why is it so hard to find a file in Ubuntu? (2011)
by Avshalom on Thursday January 14, 2016 @01:13PM
(#10903165)
Why should anyone need to have admin privileges to find a file?
[ Parent
| on HN ]
Re:Why is it so hard to find a file in Ubuntu? (2011)
by adrusi on Thursday January 14, 2016 @02:16PM
(#10903650)
From the updatedb manpage:
updatedb is usually run daily by cron(8) to update the default database.
Also:
To create a private mlocate database as an user other than root, run
updatedb -l 0 -o db_file -U source_directory
Note that all users that can read db_file can get the complete list of files in the subtree of source_directory.
Re:Why is it so hard to find a file in Ubuntu? (2011)
by fnordfnordfnord on Thursday January 14, 2016 @01:29PM
(#10903309)
Because updatedb needs to look at your system's private parts. Try
find /. | grep [string]
which will look everywhere for [string]