bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] --append and --verify don't work properly


From: Jivko Angelov
Subject: [Bug-tar] --append and --verify don't work properly
Date: Fri, 05 Jul 2013 12:56:12 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130402 Thunderbird/17.0.5

Hello guys,

I have notice a bug when I try to use tar with options --append and --verify together. Here is a simple test case:

Create two empty files:
# touch file1 file2

Create an archive:
# tar cpfW archive.tar file1 file2

Verify created archive by listing its content:
# tar -tf archive.tar
file1
file2

Create another empty file:
# touch file3

Append it to the already created archive:
# tar rpfW archive.tar file3

Verify content of the new archive:
# tar -tf archive.tar
file3

As you can see from the output above - file1 and file2 are missing, only file3 is there.

I have created the archive again with file1 and file2. Tried to append file3 to the archive without -W option:

# tar rpf archive.tar file3

# tar -tf archive.tar
file1
file2
file3

And success!

It seems that the -W (verify) option doesn't work properly with -r (append) option.

--
Regards,

Jivko
SiteGround Operations




reply via email to

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