Setup: Gentoo linux 2.6.39-r2
       encfs 1.7.2
       fuse 2.8.5

I recently had an incident with encfs where I inadvertently (as root),
ran a script that mounts a users encfs directory.

I'm also in the midst of upgrading my OS so am running a newer kernel
shown above.  Not sure what other newly installed things may have
influenced events.

The script is just a wrapper that calls 
    encfs /path/.rawdir /path/.dir

to mount an encfs volume.  The script failed but not like it should.
It seems to have put the target directory in a bad status of some
kind.

I killed the root called mount shown in ps wwaux output.

I've rebooted (for other reasons) but still what was once an encfs
mount target, when I call `ls' on it I see:

 $ ls .junk
  ls: cannot access .junk: Transport endpoint is not connected

And if I view it with emacs in dired mode (dired shows a long ls of a
filesystem)

  [...]
    -rw-r--r--  1 reader nfsu      678 Feb  4 09:35 .inputrc~
    drwx------  2 reader reader     80 Nov 10  2010 .ipager
    ??????????  ? ?      ?           ?            ? .junk
    -rw-------  1 reader reader    753 Jul  6 13:43 .lesshst
 [...]

Notice all the question marks preceding directory `.junk'

How can I back this out and recover my directory and contents?

I do have backups of the contents so nothing has been lost.  Still I'd
like to continue to use the .junk directory as mounted encfs directory.


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Encfs-users mailing list
Encfs-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/encfs-users

Reply via email to