[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Found a bug in tar-header at "ustar" magic indicator field
From: |
Sergey Poznyakoff |
Subject: |
Re: Found a bug in tar-header at "ustar" magic indicator field |
Date: |
Wed, 28 Oct 2020 08:59:48 +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