Hi Koen, [please keep at least 565202-forwar...@bugs.debian.org 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 <chschnei...@nurfuerspam.de>: > 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 > > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org