3

Say that I want to view the contents of an encrypted home directory, I can simply use "sudo ecryptfs-recover-private " and it will mount an unencrypted copy at /tmp. That's all fine and good, but how do I unmount it from /tmp? The /tmp directory gets cleared at every startup I believe, but what if I want to remove the /tmp ecryptfs directory without rebooting? I can't just delete the folder because it's read-only.

Is there some way to unmount the directory, or is restarting the only option?

Mixx
  • 673

1 Answers1

0

Even if you had remounted the directory as read-write, you still wouldn't want to delete the directory, or you would be erasing the files in your home directory.

I believe what you're looking for is the either the ecryptfs-umount-private or unmount.ecryptfs_private command. Be sure to read the warning in the synopsis for that second command.

b_laoshi
  • 4,868
  • 4
  • 26
  • 49