Package: encfs
Version: 1.5.2-1
Severity: normal

The maximum filename length on ext2/3 is 255 bytes, and 256 bytes
for ext4. Since encfs has a tendency to inflate the filename, it
runs against these boundaries even if the unencrypted plain text
file name does not. In that case, a file cannot be stored, the OS
acquits with ENAMETOOLONG and refuses to store. I think encfs needs
to find a way to handle this situation to be able to store long
file names according to the underlying filesystem restrictions.

I would not hardcode 255/256 but instead add a handler for
ENAMETOOLONG, which squashes the file over two inodes, or uses
a rewrite map.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-rc5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages encfs depends on:
ii  fuse-utils                    2.7.4-2    Filesystem in USErspace (utilities
ii  libboost-filesystem1.38.0     1.38.0-7   filesystem operations (portable pa
ii  libboost-serialization1.38.0  1.38.0-7   serialization library for C++
ii  libc6                         2.9-19     GNU C Library: Shared libraries
ii  libfuse2                      2.7.4-2    Filesystem in USErspace library
ii  libgcc1                       1:4.4.0-10 GCC support library
ii  librlog1c2a                   1.3.7-1.2  flexible message logging library
ii  libssl0.9.8                   0.9.8k-3   SSL shared libraries
ii  libstdc++6                    4.4.0-10   The GNU Standard C++ Library v3

encfs recommends no packages.

encfs suggests no packages.

-- no debconf information


-- 
 .''`.   martin f. krafft <madd...@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to