This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: untarring symlinks with ../ fails randomly

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 <> wrote:
> Corinna Vinschen <corinna-cygwin <at>> writes:
>> On Apr 24 17:14, Dima Pasechnik wrote:
>> > Dear all,
>> > reposting, as the message did not get through to the mailing list yesterday:
>> >
>> > The issue I have is exactly as described in
>> >
>> > 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? ÂIt should contain
>> some valuable hint from the function "symlink_worker".
>> Corinna
> The problem seems to be with untar, not tar per se. ÂJust today, I did `tar cp`
> a directory of a few hundred links under Cygwin. ÂUnder an unbuntu machine I
> recovered all files and links just fine. ÂUnder Cygwin, all files were 0 and
> permissions were "----------" instead of "lrwxrwxrwx" as in the original
> directory. Â(Yesterday, half the links were 0. ÂAfter compiling tar-12.6 from
> I still got 8 0's. ÂI then moved that tar to tar-1.26 yesterday.) ÂI
> include an excerpt of the log of `tar xfp` doing this with strace just for one
> file, index.html.



Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]