Results 1 to 8 of 8

Thread: How to recover encrypted Home directory?

  1. #1
    Join Date
    Mar 2005
    Beans
    174
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Question How to recover encrypted Home directory?

    I did the following and everything went successfull, but I still can't access it (Permission denied) why?

    Code:
    ubuntu@ubuntu:/tmp$ sudo ecryptfs-recover-private
    INFO: Searching for encrypted private directories (this might take a while)...
    INFO: Found [/media/ubuntu/2ce7caff-eb9a-40ac-8faa-50bce52117a7/home/.ecryptfs/hooman/.Private].
    Try to recover this directory? [Y/n]: y
    INFO: Found your wrapped-passphrase
    Do you know your LOGIN passphrase? [Y/n] y
    INFO: Enter your LOGIN passphrase...
    Passphrase: 
    Inserted auth tok with sig [3037702eb495e9e7] into the user session keyring
    INFO: Success!  Private data mounted read-only at [/tmp/ecryptfs.NsnIktP1].
    ubuntu@ubuntu:/tmp$ cd /tmp/ecryptfs.NsnIktP1/
    bash: cd: /tmp/ecryptfs.NsnIktP1/: Permission denied
    Thanks

  2. #2
    Join Date
    Nov 2007
    Location
    Les Gets, France
    Beans
    753
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to recover encrypted Home directory?

    Could your sudo have timed out?

  3. #3
    Join Date
    Mar 2005
    Beans
    174
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: How to recover encrypted Home directory?

    Quote Originally Posted by roger_1960 View Post
    Could your sudo have timed out?
    No my friend. It was fresh. I am going crazy. I cant access my data and my Ubuntu died on me this morning.

  4. #4
    Join Date
    Mar 2005
    Beans
    174
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: How to recover encrypted Home directory?

    no one?

  5. #5
    Join Date
    Apr 2006
    Location
    Scotland
    Beans
    1,225
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How to recover encrypted Home directory?

    try sudo cd /tmp/ecryptfs.NsnIktP1/ it's probably mounted with root permissions since you used sudo.

  6. #6
    Join Date
    Mar 2005
    Beans
    174
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: How to recover encrypted Home directory?

    Quote Originally Posted by insane_alien View Post
    try sudo cd /tmp/ecryptfs.NsnIktP1/ it's probably mounted with root permissions since you used sudo.
    Tried ruuning it withour sudo and it doesnt allow it.

    Also:

    Code:
    sudo cd ->
    sudo: cd: command not found

  7. #7
    Join Date
    Apr 2006
    Location
    Scotland
    Beans
    1,225
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How to recover encrypted Home directory?

    if you use su to become root, then you should be able to cd into it.

    or you could try chown to make your user the owner.

  8. #8
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: How to recover encrypted Home directory?

    What are the permissions on that directory/file?
    \ls -al will show them provided no ACLs are used.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •