[issue10761] tarfile.extractall fails to overwrite symlinks
Scott Leerssen
report at bugs.python.org
Fri May 13 18:34:55 CEST 2011
Scott Leerssen <sleerssen at gmail.com> added the comment:
It turns out that my fix was at least one byte short of complete. If the target pathname is a broken symlink, os.path.exists() returns False, and the OSError is raised. I should have used os.path.lexists(). Also, I believe the same problem exists for the hardlink case a few lines below.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10761>
_______________________________________
More information about the Python-bugs-list
mailing list