mlocate does not work as expected on encrypted disks
Bug #578303 reported by
Rolf Leggewie
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mlocate (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mlocate
My home partitions were set up with ecryptfs (an option in the installer). locate now does not return original filenames, but hashed ones,
unlegible stuff under /home/.
There's two things that need to be done, I think
1) don't index stuff under */.ecrypts/*
2) do index /home/$user
summary: |
- mlocate does not work on encrypted disks + mlocate does not work as expected on encrypted disks |
To post a comment you must log in.
As I understand it, this is intentional! I agree that in theory this aught to work, but mlocate would need to be completely redesigned to address the security issue. Note that 'ecryptfs' is in the 'PRUNEFS=' line of the default /etc/updatedb.conf file. I suppose you could edit this file to 'fix' this problem, but know that your encrypted metadata (file and directory names) will be readable by anyone who steals your computer. See:
https:/ /bugs.launchpad .net/ubuntu/ +source/ mlocate/ +bug/372631