1 |
Sorry about the OT, I couldn't raise a stir on the encfs group in |
2 |
several days... I'm hoping someone here is experienced with encfs. |
3 |
|
4 |
Actually I'm somewhat experienced with it myself. I've been keeping |
5 |
encfs directory for yrs now for special stuff. |
6 |
|
7 |
Somehow I managed to really hurt the installation ... here is what I |
8 |
remember having done: |
9 |
|
10 |
Some how I got mixed up when running as root, and attempted to mount a |
11 |
users encfs directory. (Its a single user machine so it my users |
12 |
directory) |
13 |
|
14 |
That should just fail with some kind of permission error since no one, |
15 |
even root, can mess with someone elses' encfs directory. |
16 |
|
17 |
But once I'd done that I could no longer even `ls' the subject |
18 |
directory. Not as user, not as root. A simple `ls' would totally |
19 |
hang the terminal. |
20 |
|
21 |
Of course I tried to umount but really it never actually mounted. |
22 |
|
23 |
I started getting this error: `Transport endpoint is not connected' |
24 |
|
25 |
I could see roots attempt to mount the darn thing in ps wwaux output |
26 |
and killed that pid. |
27 |
|
28 |
Eventually (after posting several days ago on encfs list. I resorted |
29 |
to umounting /home (after full backup of course) and reformatted it. |
30 |
|
31 |
I was then able to deleted encfs_raw and encfs_mnt. |
32 |
|
33 |
But here is the real kicker. Even after all that, and in fact another |
34 |
full round of mostly the same stuff, including another reformat. So |
35 |
two reformats and two reboots. Even with that, I still cannot create a |
36 |
new enc_raw and enc_mount of the same name as the old one. |
37 |
|
38 |
I would like to, because I have several scripts that depend on that |
39 |
name. Not a huge deal... but what could still be causing trouble? |
40 |
|
41 |
I can create any number of encfs directories with different names. |
42 |
Just not the original. |
43 |
|
44 |
What happens if I try is that after creation (using old name) I can |
45 |
move files to the new (with old name) directory. |
46 |
|
47 |
But if I once umount it like: fusermount -u /my/oldencfs, then when I |
48 |
try next to mount it, it hangs terminally. Takes over the terminal |
49 |
and kills all further progress (in that terminal). This happens at |
50 |
the point where I answer the passwd prompt with the appropriate |
51 |
passwd. |
52 |
|
53 |
(No .. no chance I'm entering it wrong... its been in daily use for |
54 |
yrs). |
55 |
|
56 |
I'm kind of stumped at what else to try. I've used encfs -v (verbose) |
57 |
mode and -f (foreground) mode but after entering the passwd... it |
58 |
all just goes south... nothing more can happen. |
59 |
|
60 |
Maybe encfs keeps data somewhere that I can delete and make this go |
61 |
away? But a `qlist encfs', listing all that got installed doesn't show |
62 |
anything like that. |