If one trips over this bug, it may cause problems if that broken session
creates files that shadow the old, valuable filenames that are
encrypted.

If one is using the recommended scheme active during Karmic (at least),
then this will find cleartext filenames that should not exist:

  $ ls -A /home/.ecryptfs/$USER/.Private |grep -v ECRYPTFS_FNEK

You might have a dozen or so.  Move those to a new location, and after
log out and unmount of that ecryptfs layer, and remount, the old files
will reappear.

Something like this should help clean up:

  $ mkdir  ~/Desktop/ecryptfs-bad-for-review
  $ mv /home/.ecryptfs/$USER/.Private/
  $ ls -A1 /home/.ecryptfs/$USER/.Private |grep -v ^ECRYPTFS_FNEK |while read 
filename; mv -i "/home/.ecryptfs/$USER/.Private/$filename" 
~/Desktop/ecryptfs-bad-for-review/; done
  $ cd /home; sudo umount $USER
  $ ecryptfs-mount-private

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/802197

Title:
  no sysfs entry in /etc/mtab breaks encrypted-home

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/802197/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to