Locate cannot find files on an encrypted home directory
Jump to navigation
Jump to search
If you have an encrypted home directory, the locate command will not return files in the home directory structure. This is because updatedb does not look in encrypted areas.
To add these files:
- edit
/etc/updatedb.conf - remove from the
PRUNEFS=line the entry forecryptfs sudo updatedb
The downside of making this change is that it will be possible for someone with access to the PC to see what filenames you have.