delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/11/10:28:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3B2F8385703C
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=freesbee.fr
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=vincent DOT riviere AT gmail DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=sender:from:subject:to:references:message-id:date:user-agent
:mime-version:in-reply-to:content-language:content-transfer-encoding;
bh=0lVqACf6TLRExXbe/DHUmJW2vMgJbRW3Rx8GUeV28AM=;
b=gKuhsOj8R0/thoZdSe1tY2b3VUnHmXXkgXo7rtLhBYMqvniEdhVmH7PRUvHGiurdd+
JOIfa9AUdbtXHqAg56vaMvnYISjFFmp6jWPesZl+JnF5JLMgEqtBu3CPtBPoPNaBJdYA
Zd7GpCmlGmvwPHH1FN+JQterHGNesPHHYp0prc+4JohgQPr68SLPRJEPYenJxnW3gtzJ
LWIyNNbm8cmJEs2khZTVVzxZOYIladoBTByLUwQ3o1m+r9G2qMICA7SKQ8dTpckXe2e6
kq2EFYcT1BHHdOKYaR2su4d4xZKuYj07jSYo7jfZ7I98QgW0GftjsObDTE8VIdX2KI13
QV7A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:sender:from:subject:to:references:message-id
:date:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=0lVqACf6TLRExXbe/DHUmJW2vMgJbRW3Rx8GUeV28AM=;
b=akzedE71yj6gQbYeyLMc6TcM93WHiImP8DfS/JsYZaY0fizusVDSoJk0VDHK/NkCes
LjP5KQwE3sEgjShvTXI5RM8WS1MFKIS6m01Qehvv2j+k98vTu96Kk1ZE5W4fRukuMpV1
9BW0T8KaXWz5429WBvcJ4HJ9SVLQ6x5+baubQLXj9q1uftAT8YAmYkTKEtu+P5q0zkKz
Tx5XW4VqUSq2Lv8+J588orl5azRCeMr230JYHTgQ8YnxPAr63bN7NzieVQZBeVBsQ5oz
il2FehNRdF8nv/4PvKkh/2R5kPt4wl868KusuYyKFijKQHkp+Z70050E5H17Ga0cVwhB
SECA==
X-Gm-Message-State: AOAM530qkK+sse1oUgcDg4zBysNaBQmlPL/tdjvwodm9pgx+xCa7FY9b
xJ+ADNfaKvA8k7XCGTNTJ8eY5K8iBxw=
X-Google-Smtp-Source: ABdhPJxQBsTPFHeGtN3UnlrZkBVOMZZd1IVYV+4CIdNOR1WtD3tzrHSd+O2H41Bv/gccUvj1wEtGNg==
X-Received: by 2002:a1c:2bc2:: with SMTP id r185mr205636wmr.13.1610378832050;
Mon, 11 Jan 2021 07:27:12 -0800 (PST)
From: =?UTF-8?Q?Vincent_Rivi=c3=a8re?= <vincent DOT riviere AT freesbee DOT fr>
Subject: tar 1.33 symlinks : Cannot change mode to...
To: cygwin AT cygwin DOT com
References: <announce DOT 87lfd0uciv DOT fsf AT Rainer DOT invalid>
Message-ID: <1655a453-25d0-3e71-2e43-0072a795c1f4@freesbee.fr>
Date: Mon, 11 Jan 2021 16:27:11 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.6.0
MIME-Version: 1.0
In-Reply-To: <announce.87lfd0uciv.fsf@Rainer.invalid>
X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_EF, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,
HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 10BFRfKH013974

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
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019