delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/04/25/23:44:12

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <loom.20110425T165316-628@post.gmane.org>
References: <BANLkTikh9rCN2GRwY3eW20H0isffN5fMUg AT mail DOT gmail DOT com> <BANLkTi=GZbtLmK-Sr06-M=5xXVFzPCi82w AT mail DOT gmail DOT com> <20110424121145 DOT GB30696 AT calimero DOT vinschen DOT de> <loom DOT 20110425T165316-628 AT post DOT gmane DOT org>
Date: Tue, 26 Apr 2011 11:43:47 +0800
Message-ID: <BANLkTikSgw6dmxuWVQbemdng-FcTnOw5Jg@mail.gmail.com>
Subject: Re: untarring symlinks with ../ fails randomly
From: Dima Pasechnik <dimpase AT gmail DOT com>
To: cygwin AT cygwin DOT com
Cc: ingber AT alumni DOT caltech DOT edu
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Dear all,

that's roughly what I also sent to the list in reply to Corinna's message,
but it didn't get through (spamfilter? blacklist? - no idea).
I tried sending 4 times, and all these messages went to a black hole...


On 25 April 2011 22:59, Lester Ingber <ingber AT alumni DOT caltech DOT edu> wrote:
> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
>
>>
>> On Apr 24 17:14, Dima Pasechnik wrote:
>> > Dear all,
>> > reposting, as the message did not get through to the mailing list yest=
erday:
>> >
>> > The issue I have is exactly as described in
>> > http://sourceware.org/ml/cygwin/2011-04/msg00299.html
>> > I can reproduce this on a very similar Windows 7 host.
>> > (To be precise, it seems hard to predict when creating symlinks fails;
>> > I could say
>> > that perhaps 20% of them, on average, are not created correctly (i.e.
>> > I get files of size 0 instead)).
>>
>> A simple testcase in plain C to reproduce the issue would be fine.
>> Did you try to create the symlinks under strace? =C2=A0It should contain
>> some valuable hint from the function "symlink_worker".
>>
>> Corinna
>>
>
> The problem seems to be with untar, not tar per se. =C2=A0Just today, I d=
id `tar cp`
> a directory of a few hundred links under Cygwin. =C2=A0Under an unbuntu m=
achine I
> recovered all files and links just fine. =C2=A0Under Cygwin, all files we=
re 0 and
> permissions were "----------" instead of "lrwxrwxrwx" as in the original
> directory. =C2=A0(Yesterday, half the links were 0. =C2=A0After compiling=
 tar-12.6 from
> gnu.org I still got 8 0's. =C2=A0I then moved that tar to tar-1.26 yester=
day.) =C2=A0I
> include an excerpt of the log of `tar xfp` doing this with strace just fo=
r one
> file, index.html.
>

[...]

Dmitrii

--
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