bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] extracting broken symlinks


From: Eric Blake
Subject: Re: [Bug-tar] extracting broken symlinks
Date: Fri, 24 Aug 2007 07:11:15 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Eric Blake on 8/24/2007 6:46 AM:
>> Did I miss something?
> 
> I'm still seeing it on cygwin with CVS tar, so at this point, I'm
> suspecting cygwin instead.

Found it.  Cygwin 1.5.24 and earlier violate POSIX, because
open("broken_symlink", O_WRONLY|O_CREAT|O_EXCL,0) mistakenly creates the
target of broken_symlink.  This was in tar's create_placeholder_file.  No
need for tar to do anything about this cygwin-specific bug.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGztjx84KuGfSFAYARAvL4AKCkV7fKrkqeqgIVD4F1fhE/Ls8JRACgrQ+E
gCtJzlFl1WjLKpkTkBN3gY8=
=E2LI
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]