delorie.com/archives/browse.cgi | search |
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 <eblake AT redhat DOT 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 AT cygwin DOT com |
Subject: | Re: untarring symlinks with ../ fails randomly |
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> <20110426074325 DOT GP3324 AT calimero DOT vinschen DOT de> <loom DOT 20110426T170653-639 AT post DOT gmane DOT org> <20110426152226 DOT GA22801 AT ednor DOT casa DOT cgf DOT cx> <20110426155346 DOT GA19578 AT calimero DOT vinschen DOT de> <loom DOT 20110427T161737-566 AT post DOT gmane DOT org> |
In-Reply-To: | <loom.20110427T161737-566@post.gmane.org> |
OpenPGP: | url=http://people.redhat.com/eblake/eblake.gpg |
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 |
--------------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--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |