This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mkv
Recipients mkv
Date 2009-05-18.16:19:54
SpamBayes Score 6.075858e-06
Marked as misclassified No
Message-id <1242663597.58.0.136129786751.issue6054@psf.upfronthosting.co.za>
In-reply-to
Content
When creating tar archives using the tarfile module, requested arc names
are not respected. 

It is currently impossible to create a tar which when listing contents
would give:
$tar tvf test.tar
./
./control
./prerm
./postinst

The actual result will be
$tar tvf test.tar
./
control
prerm
postinst

This is caused by TarInfo's tobuf method calling normpath() on all file
names, even when the user has explicitly specified a certain name.
History
Date User Action Args
2009-05-18 16:19:57mkvsetrecipients: + mkv
2009-05-18 16:19:57mkvsetmessageid: <1242663597.58.0.136129786751.issue6054@psf.upfronthosting.co.za>
2009-05-18 16:19:55mkvlinkissue6054 messages
2009-05-18 16:19:55mkvcreate