Public bug reported:

I found an unexpected behavior while experimenting with the export
command in encfsctl.

My encrypted directory is called BBB: it contains several files
pict*.jpg and a subdirectory 'yy'

$  encfsctl export BBB EEE
EncFS Password: 
The directory "EEE" does not exist. Should it be created? (y,n) y
$ ls -l
total 96376
drwxr-xr-x   3 chauveau users    4096 2008-01-21 21:25 BBB/
drwx------   2 chauveau users    4096 2008-01-21 21:41 EEE/
-rwx------   1 chauveau users 2041364 2008-01-21 21:41 EEEpict0006.jpg*
-rwx------   1 chauveau users 2010187 2008-01-21 21:41 EEEpict0007.jpg*
...
drwxr-xr-x   2 chauveau users    4096 2008-01-21 21:41 EEEyy/
$ ls -l EEE
total 0

There is obviously a bug in the generation of the output paths.
The files themselves are fine.
The obvious workaround is to specify an export directory ending with /:

$ encfsctl export BBB EEE/
EncFS Password: 
$ ls -l EEE
total 96356
-rwx------ 1 chauveau users 2041364 2008-01-21 21:54 pict0006.jpg
-rwx------ 1 chauveau users 2010187 2008-01-21 21:54 pict0007.jpg
...
drwxr-xr-x 2 chauveau users    4096 2008-01-21 21:51 yy

===

Package: encfs
Versions: 
1.3.2-1-1 
(/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy_universe_binary-i386_Packages)
 (/var/lib/dpkg/status)
 Description Language: 
                 File: 
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy_universe_binary-i386_Packages
                  MD5: 548b455c473b2471eae5efe6de874f33

** Affects: encfs (Ubuntu)
     Importance: Undecided
         Status: New

-- 
encfsctl export adds prefix instead of directory
https://bugs.launchpad.net/bugs/184905
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to