New submission from Eric Andresen:
The tarfile.TarFile.extractall() method is [by default] silently failing
to set directory permissions and times on all but the lexically-latest
directory extracted. This is due to an unintentional re-use of the
'path' variable.
The provided patch renames the second 'path' variable to 'dirpath' which
resolves the problem.
--
components: Library (Lib)
files: python-tarfile-extractall-fix.patch
messages: 59219
nosy: eandres
severity: normal
status: open
title: tarfile.TarFile.extractall not setting directory permissions correctly
versions: Python 2.5, Python 2.6
Added file: http://bugs.python.org/file9056/python-tarfile-extractall-fix.patch
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1735>
__
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com