X-Recipient: archive-cygwin AT delorie DOT 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 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 AT cygwin DOT com Subject: Re: untarring symlinks with ../ fails randomly References: <20110424121145 DOT GB30696 AT calimero DOT vinschen DOT de> <20110426074325 DOT GP3324 AT calimero DOT vinschen DOT de> <20110426152226 DOT GA22801 AT ednor DOT casa DOT cgf DOT cx> <20110426155346 DOT GA19578 AT calimero DOT vinschen DOT de> In-Reply-To: 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 AT redhat DOT 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--