public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: meino.cramer@gmx.de
To: Gentoo <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] No access to encfs-encrypted directory
Date: Sat, 7 Jan 2012 06:59:23 +0100	[thread overview]
Message-ID: <20120107055923.GA3022@solfire> (raw)

Hi,

On a extf4 formatted partition I have two directories (beside others,
non encrypted ones):

    .crypt
    crypt

.crypt contains the encrypted data.

I then mount the encrypted partionas as root with

    mount -t ecryptfs /home/user/.crypt /home/user/crypt -o ecryptfs_cipher=blowfish,ecryptfs_key_bytes=56,ecryptfs_passthrough=n,ecryptfs_sig=XXXXXXXXXXXXXXXX,ecryptfs_fnek_sig=XXXXXXXXXXXXXXXX,ecryptfs_unlink_sigs,key=passphrase

(I blanked the sigs before posting)

This worked like a charm....but...

A local power fail switches my PC off while the encrypted directory
was mounted.

After rebooting I still was abler to execute the command given above
successfully, but two diorectorie below the directory 'crypt' show
like this:

drwxr-xr-x  6 mccramer users  4096 2012-01-07 05:05 .
drwxr-xr-x 11 mccramer users  4096 2012-01-07 06:47 ..
d?????????  ? ?        ?         ?                ? .process
drwxr-xr-x  2 mccramer users  4096 2008-09-07 03:41 BlenderLostAndFound
drwxr-xr-x  2 mccramer users 12288 2011-10-31 04:16 NEWARCS
-rw-r--r--  1 mccramer users     0 2006-01-01 07:00 RENDER
d?????????  ? ?        ?         ?                ? logdata
    

Trying to cd into logdata or .process fail.


Is there any chance to recover from this and if yes: how ???

Thank you very much for any help in advance!

Best regards,
mcc






             reply	other threads:[~2012-01-07  6:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-07  5:59 meino.cramer [this message]
2012-01-07  9:25 ` [gentoo-user] No access to encfs-encrypted directory Mick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120107055923.GA3022@solfire \
    --to=meino.cramer@gmx.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox