delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/30/11:05:56

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4E0C90B2.2060409@cornell.edu>
Date: Thu, 30 Jun 2011 11:05:22 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: untarring symlinks with ../ fails randomly
References: <1309437783 DOT 2097 DOT 68 DOT camel AT geldmacher-pc> <20110630133703 DOT GE9552 AT calimero DOT vinschen DOT de>
In-Reply-To: <20110630133703.GE9552@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 6/30/2011 9:37 AM, Corinna Vinschen wrote:
> On Jun 30 14:43, Wolf Geldmacher wrote:
>> Dear all,
>>
>> just joining after being hit by an obviously known issue:
>>
>> Running tar (in my case to extract openssl-0.9.8r.tar.gz) results in
>> symbolic links being randomly substituted by zero length mode 0 files as
>> described in http://sourceware.org/ml/cygwin/2011-04/msg00299.html.
>>
>> For me this happens on both Windows 7 and Windows Server 2008.
>>
>> The interesting (new?) tidbit:
>>
>> In sheer desparation I downgraded from cygwin1.dll/1.7.9.1 to
>> cygwin1.ddl/1.7.8.1 via setup.exe and the issue seems to be gone.
>>
>> As this is the only change I made: Is it possible that the problem is
>> not an issue with tar (as discussed on the mailing list) but in fact a
>> regression in cygwin1.dll?
>
> I never saw this happen.  Therefore, somebody actually seeing this
> problem has to debug it.  The least I need is an strace.

I'm not sure it needs further debugging.  The patch to tar given in

   http://cygwin.com/ml/cygwin/2011-04/msg00385.html

solves the problem.  Eric said (in the next message) that he will apply 
this to the next release of tar.  In the meantime, it's easy to download 
the tar source, apply the patch, and rebuild.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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