public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* [ANNOUNCEMENT] Updated: tar-1.33-3
@ 2021-01-10 13:50 Achim Gratz
  2021-01-11 15:27 ` tar 1.33 symlinks : Cannot change mode to Vincent Rivière
  0 siblings, 1 reply; 3+ messages in thread
From: Achim Gratz @ 2021-01-10 13:50 UTC (permalink / raw)
  To: cygwin



GNU tar has been updated to the latest upstream release 1.33.

This is a new upstream release.  Upstream release notes can be found
alongside other documentation in /usr/share/doc/tar/.

ZStandard compression support is enabled in this release.


Homepage:
https://www.gnu.org/software/tar

GNU Tar provides the ability to create tar archives, as well as various
other kinds of manipulation. For example, you can use Tar on previously
created archives to extract files, to store additional files, or to
update or list files which were already stored.

Initially, tar archives were used to store files conveniently on
magnetic tape. The name "Tar" comes from this use; it stands for tape
archiver. Despite the utility's name, Tar can direct its output to
available devices, files, or other programs (using pipes), it can even
access remote devices or files (as archives).


-- 
              *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.com@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* tar 1.33 symlinks : Cannot change mode to...
  2021-01-10 13:50 [ANNOUNCEMENT] Updated: tar-1.33-3 Achim Gratz
@ 2021-01-11 15:27 ` Vincent Rivière
  2021-01-11 17:54   ` Achim Gratz
  0 siblings, 1 reply; 3+ messages in thread
From: Vincent Rivière @ 2021-01-11 15:27 UTC (permalink / raw)
  To: cygwin

On 10/01/2021 à 14:50, Achim Gratz wrote:
> GNU tar has been updated to the latest upstream release 1.33.

Unfortunately it has reintroduced this old bug:
https://lists.gnu.org/archive/html/bug-tar/2011-08/msg00006.html

This happens when symlinks are located before the target in the source 
archive. The example given in the above link produces this output:

$ tar -xf directory.tar
tar: directory/1: Cannot change mode to rwxr-xr-x: No such file or directory
tar: directory/2: Cannot change mode to rwxr-xr-x: No such file or directory
tar: directory/3: Cannot change mode to rwxr-xr-x: No such file or directory
tar: Exiting with failure status due to previous errors

Note that files and symlinks are properly extracted, but $? is set to 2 so 
scripts can fail.

tar 1.32-2 : ok
tar 1.33-1 : bug

This needs to be fixed.

Regards,

-- 
Vincent Rivière

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: tar 1.33 symlinks : Cannot change mode to...
  2021-01-11 15:27 ` tar 1.33 symlinks : Cannot change mode to Vincent Rivière
@ 2021-01-11 17:54   ` Achim Gratz
  0 siblings, 0 replies; 3+ messages in thread
From: Achim Gratz @ 2021-01-11 17:54 UTC (permalink / raw)
  To: cygwin

Vincent Rivière writes:
> On 10/01/2021 à 14:50, Achim Gratz wrote:
>> GNU tar has been updated to the latest upstream release 1.33.
>
> Unfortunately it has reintroduced this old bug:
> https://lists.gnu.org/archive/html/bug-tar/2011-08/msg00006.html

It's quite unlikely the same bug since there is actually a test for that.

> This happens when symlinks are located before the target in the source
> archive. The example given in the above link produces this output:
>
> $ tar -xf directory.tar
> tar: directory/1: Cannot change mode to rwxr-xr-x: No such file or directory
> tar: directory/2: Cannot change mode to rwxr-xr-x: No such file or directory
> tar: directory/3: Cannot change mode to rwxr-xr-x: No such file or directory
> tar: Exiting with failure status due to previous errors

Cannot reproduce.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-11 17:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-10 13:50 [ANNOUNCEMENT] Updated: tar-1.33-3 Achim Gratz
2021-01-11 15:27 ` tar 1.33 symlinks : Cannot change mode to Vincent Rivière
2021-01-11 17:54   ` Achim Gratz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).