using encfs on sshfs-mounted filesytem

D. R. Evans doc.evans at gmail.com
Thu Jun 28 02:51:32 UTC 2007


Someone on slashdot today posted a couple of interesting facts:

1. All AIM users have access to 100MB of free space on members.aol.com
that can be mounted with sshfs
2. One can run encfs on this filesystem

Sure enough, I discovered that #1 is indeed true. But if I run encfs
on the filesystem, I get weird permission errors:

[H:~] sshfs N7DR at members.aol.com: /home/n7dr/aol
Password:

<so aol is now mounted>

[H:~] ls -al /home/n7dr/aol
total 12
drwxrwxr-x   1 5022  501 4096 2007-06-27 20:51 .
drwxr-xr-x 101 n7dr n7dr 4096 2007-06-27 20:28 ..
-rw-r--r--   1 4056  501    0 2007-06-27 20:39 burble
-rw-r-----   1 4056  501  224 2007-06-27 20:41 .encfs5

<yep; I can see files there>

[H:~] encfs ~/aol ~/aol-crypt
EncFS Password:

<the encrypted version is mounted>

[H:~] ls -al /home/n7dr/aol-crypt
total 8
drwxrwxr-x   1 5022  501 4096 2007-06-27 20:51 .
drwxr-xr-x 101 n7dr n7dr 4096 2007-06-27 20:28 ..

[H:~] touch /home/n7dr/aol-crypt/newfile
touch: cannot touch `/home/n7dr/aol-crypt/newfile': Permission denied

<why can't I write??>

FWIW, if I just use encfs on regular directories, it works fine. The
problem seems to be because I am using encfs on the sshfs-mounted
filesystem, but that is exactly the situation that the slashdot poster
says works fine.

Does anyone have and ideas?




More information about the kubuntu-users mailing list