*** This bug is a duplicate of bug 823775 ***
    https://bugs.launchpad.net/bugs/823775

Examine your directory WITHOUT mounting the encrypted partition.  That
is, look at the .Private directory which contains a bunch of
"ECRYPTFS..." files and directories.  In your case, you'll see a mix of
"ECRYPTFS..." files/directories (containing your real data), and other
directories with regular-looking names but no content.

If you mount the encrypted partition, then whenever there is an
encrypted item whose name decrypts to something non-encrypted in the
same directory, the system will choose the non-encrypted (and useless)
item instead of the real (encrypted) item.

You need to VERY CAREFULLY get rid of everything in your .Private
directory that does NOT have an "ECRYPTFS..." name.

You can either remove the offending junk directories by hand (if you're
VERY confident and VERY careful) -- or you can do what I did.  I renamed
the .Private directory, created a new .Private directory (with identical
ownership and permissions), and then went into the original (renamed)
directory and moved everything with a name starting with "ECRYPTFS" into
the new .Private directory.

After doing this, you should be able to mount the encrypted partition,
and everything should hopefully be OK.

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

Title:
  duplicate files/directories when mounted

To manage notifications about this bug go to:
https://bugs.launchpad.net/ecryptfs/+bug/623708/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to