|
From: | Juha Mäkinen |
Subject: | Re: Found a bug in tar-header at "ustar" magic indicator field |
Date: | Wed, 28 Oct 2020 09:43:49 +0200 |
> What I noticed is that the tar header is formed incorrectly. It's supposed
> to
> contain the "ustar" TMAGIC indicator at offset 257 followed by a null.
That archive is in GNU tar format, which historically differs from ustar
format. If you wish to create archives in ustar format use the -H
(--format) command line option:
tar -Hustar -cf archive.tar ...
For a description of the -H option, refer to
https://www.gnu.org/software/tar/manual/html_node/Option-Summary.html#IDX81
For a discussion of archive formats supported by tar, please see
https://www.gnu.org/software/tar/manual/html_node/Formats.html
Regards,
Sergey
[Prev in Thread] | Current Thread | [Next in Thread] |