X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-6.9 required=5.0	tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4DB83C35.8040808@redhat.com>
Date: Wed, 27 Apr 2011 09:54:29 -0600
From: Eric Blake <eblake@redhat.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.9
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: untarring symlinks with ../ fails randomly
References: <BANLkTikh9rCN2GRwY3eW20H0isffN5fMUg@mail.gmail.com> <BANLkTi=GZbtLmK-Sr06-M=5xXVFzPCi82w@mail.gmail.com> <20110424121145.GB30696@calimero.vinschen.de> <loom.20110425T165316-628@post.gmane.org> <20110426074325.GP3324@calimero.vinschen.de> <loom.20110426T170653-639@post.gmane.org> <20110426152226.GA22801@ednor.casa.cgf.cx> <20110426155346.GA19578@calimero.vinschen.de> <loom.20110427T161737-566@post.gmane.org>
In-Reply-To: <loom.20110427T161737-566@post.gmane.org>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig3A968E041858223B906C1DB4"
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

--------------enig3A968E041858223B906C1DB4
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 04/27/2011 09:50 AM, Dan Grayson wrote:
> Here is a patch to tar that fixes the problem by using mtime instead of c=
time.
> Yes, it's not a problem with cygwin or tar, but I see no way for users to
> figure out, under Windows, which processes are changing the status of the=
ir
> files.

Thanks for the investigation and patch.  mtime is easy to spoof, but
this seems like a reasonable patch to avoid the worst of the BLODA
issues.  I'll probably apply it and push out a new cygwin tar build
soon.  I think the patch should remain cygwin-only, and not go upstream.

--=20
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enig3A968E041858223B906C1DB4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJNuDw2AAoJEKeha0olJ0NqUwEH/Rj99efl0VwfIu9p5loF6KIX
NTJkFdp4HLWV3UWB6+HErHHcWuOjWdpKOT/Wf1QoeIEdmWvoolvpmhazJku/MeyR
7km1xCiorhi2lbcn+uRYeZKrsKyG6/hx/tMns+7tLGoU38FfMdqiHNh2XoSq0Nn5
9OB+axvmy1/NeT+VYgB4Y0EfM7zf3fAozOzuKJe90oDjB5tsoNVZTMpCUwbFAYYG
yUUCUFt/9yYrbqueOef+nzGuzIzMRcYsq054N/qHWeQrGieQgYCt63Mfi6WcPhol
fDd01aWnzusxhxVwT64md/ZQ7e5Wei9ODsLkWHSX2KezL0KD9r0x43OEMOowOmU=
=eHL/
-----END PGP SIGNATURE-----

--------------enig3A968E041858223B906C1DB4--
