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


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 ctime.
> 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 their
> 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.

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

Attachment: signature.asc
Description: OpenPGP digital signature


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