Package: clamfs Version: 1.0.0-1 Severity: normal
In a clamfs protect filesystem I have a file bigger then 2GB: -rw-r-xr-- 1 www-data www-data 2663258112 2009-05-20 08:12 cdimage.iso When I'm trying to read-access the file, I'm not allowed too: u...@srv-vie-ftp01:...$ head cdimage.iso head: cannot open `cdimage.iso' for reading: Operation not permitted clamd is configured to the default MaxFileSize of 25MB. According to the manpage "Files larger than this limit won’t be scanned.". Anyway, in clamav.log I can find entries (one liners) like: Wed May 20 08:54:07 2009 -> WARNING: lstat() failed on: .../cdimage.iso When I straced clamd at this time I can see: [pid 18294] lstat64("/var/lib/nephthys/transfer.unprotected/63e11bdd141239dcdc11dbe419cbbf4fc9e8dfab/cdimage.iso", {st_mode=S_IFREG|0654, st_size=2663258112, ...}) = 0 [pid 18294] send(9, "", 0, 0) = 0 [pid 18294] send(9, "/var/lib/nephthys/transfer.unpro"..., 154, 0) = 154 [pid 18294] time([1242802662]) = 1242802662 [pid 18294] write(3, "Wed May 20 08:57:42 2009 -> WARN"..., 148) = 148 [pid 18294] write(2, "WARNING: lstat() failed on: /var"..., 120) = 120 [pid 18294] shutdown(9, 2 /* send and receive */) = 0 stracing clamfs shows the following: [pid 19089] send(4, "SCAN /var/lib/nephthys/transfer.unprotected/63e11bdd141239dcdc11dbe419cbbf4fc9e8dfab/cdimage.iso\n", 97, 0) = 97 [pid 19089] recv(4, "/var/lib/nephthys/transfer.unprotected/63e11bdd141239dcdc11dbe419cbbf4fc9e8dfab/cdimage.iso: lstat() failed: Value too large for"..., 512, 0) = 154 As you can see, clamfs sends the SCAN request to clamd. Clamd responds that the file is too large and it won't scan it. And now it seems that clamfs interprets this wrong and refuses access to this file. Regards, Andreas -- System Information: Debian Release: 4.0 APT prefers oldstable APT policy: (500, 'oldstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.24-etchnhalf.1-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages clamfs depends on: ii libc6 2.3.6.ds1-13etch9+b1 GNU C Library: Shared libraries ii libcommoncpp2-1.5-0 1.5.1-4 A GNU package for creating portabl ii libfuse2 2.5.3-4.4 Filesystem in USErspace library ii libgcc1 1:4.1.1-21 GCC support library ii libgcrypt11 1.2.3-2 LGPL Crypto library - runtime libr ii libgnutls13 1.4.4-3+etch4 the GNU TLS library - runtime libr ii libpocofoundation5 1.3.2+dfsg1-4~mm.1 The C++ Portable Components Founda ii libpoconet5 1.3.2+dfsg1-4~mm.1 The C++ Portable Components Networ ii librlog1c2a 1.3.7-1 flexible message logging library ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3 ii zlib1g 1:1.2.3-13 compression library - runtime Versions of packages clamfs recommends: pn clamav-daemon <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org