bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Appending file(s) to tar file may silently fail


From: Markus Steinborn
Subject: Re: [Bug-tar] Appending file(s) to tar file may silently fail
Date: Wed, 12 Nov 2014 18:18:28 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:28.0) Gecko/20100101 Firefox/28.0 SeaMonkey/2.25

Hi Hendrik,

Hendrik Grewe schrieb:
If one tries to append a file to an existing .tar file through

   tar --append --file defective.tar fileToAdd.xxx

tar may return exit code 0 and terminate without error though the
fileToAdd.xxx is not added to the .tar file. However the tarfile has
been changed in some kinde since md5sums of defective.tar befor the
non working call and after the call differ.

Something is broken here. If I add a fle (let's say "mkdvdiso.sh") to
the archive (only once), checking the result with "tar -tvf
defective.tar" reveals that

-rw------- postgres/postgres   8192 2014-11-12 15:57 global/pg_control

is missing in the tar file (compared to the original tar file). star
confirms this diagnostic. So GNU tar's append clearly removes a file,
which is obviously another bug.


Greetings

Markus Steinborn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]