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
Re: How to recover encrypted Home directory?
Could your sudo have timed out?
Re: How to recover encrypted Home directory?
Quote:
Originally Posted by
roger_1960
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. :(
Re: How to recover encrypted Home directory?
Re: How to recover encrypted Home directory?
try sudo cd /tmp/ecryptfs.NsnIktP1/ it's probably mounted with root permissions since you used sudo.
Re: How to recover encrypted Home directory?
Quote:
Originally Posted by
insane_alien
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
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.
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.