Your message dated Wed, 13 Jan 2010 23:55:34 +0100
with message-id <[email protected]>
has caused the report #565202,
regarding afio: verification against filesystem does not work
to be marked as having been forwarded to the upstream software
author(s) Koen Holtman <[email protected]>
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
565202: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565202
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Hi Koen,
[please keep at least [email protected] in CC:]
a Debian user has filed a bugreport against Afio, please see below.
It seems the problem is, that empty files within Afio archive will not
be checked against file system.
See afio.c:2938
----------8<----------------------------------------8<--------------------
case S_IFREG:
/* does not check file permissions and access times */
if (asb->sb_size == 0)
return (0);
----------8<----------------------------------------8<--------------------
Is this intended behavior?
If yes, why? And we should document it clearly, I think.
Thank you in advance.
Bye,
Erik
Christian Schneider Christian Schneider <[email protected]>:
> Package: afio
> Version: 2.5-5
> Severity: important
>
> Hi folks,
>
> seems to me, as if the verification of afio archives against the
> filesystem does not work:
>
> $ mkdir foo
> $ touch foo/A
> $ find foo/ | afio -o bar.afio
> $ afio -r bar.afio
> $ echo $?
> 0
> $ echo "baz" >> foo/A
> $ afio -r bar.afio
> $ echo $?
> 0
>
> Returns "0" twice!? This is quite severe IMHO. Can you verify this?
>
> Thanks in advance.
>
> Regards,
> Christian
>
> -- System Information:
> Debian Release: 5.0.3
> APT prefers stable
> APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
>
> Versions of packages afio depends on:
> ii libc6 2.7-18 GNU C Library: Shared
> libraries
>
> afio recommends no packages.
>
> afio suggests no packages.
>
> -- no debconf information
>
>
--- End Message ---