[issue6054] tarfile normalizes arcname

2010-05-17 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Apparently this fix introduced a regression. See issue8741 -- nosy: +srid ___ Python tracker ___ ___

[issue6054] tarfile normalizes arcname

2009-08-28 Thread Lars Gustäbel
Lars Gustäbel added the comment: I have done some research in order to find a suitable behaviour for tarfile. I wrote a script to test to what extent all the different tar implementations transform input pathnames. The results can be found at http://www.gustaebel.de/lars/tarfile/wwgtd.html. My

[issue6054] tarfile normalizes arcname

2009-05-26 Thread Lars Gustäbel
Lars Gustäbel added the comment: Apparently, the .deb file format is not explicit about that, but it seems to be common practice to have all files prefixed with './'. normpath is used all over tarfile, crucial are the occurrences in TarFile.add() and TarInfo.get_info(). As you're using a unix-l

[issue6054] tarfile normalizes arcname

2009-05-26 Thread Lars Gustäbel
Lars Gustäbel added the comment: So, what exactly are trying to accomplish? Why do you need that? -- ___ Python tracker ___ ___ Python

[issue6054] tarfile normalizes arcname

2009-05-26 Thread Martin v. Löwis
Changes by Martin v. Löwis : -- assignee: -> lars.gustaebel nosy: +lars.gustaebel ___ Python tracker ___ ___ Python-bugs-list mailing

[issue6054] tarfile normalizes arcname

2009-05-23 Thread mkv
mkv added the comment: Great, thanks for the speedy work :) Now if only issue4750 would get fixed for 2.7 as well ;) -- ___ Python tracker ___ _

[issue6054] tarfile normalizes arcname

2009-05-21 Thread mkv
mkv added the comment: I'm creating a debian package (.deb) for a system which uses busybox's dpkg. A deb is an ar-archive (not tar, unix ar) archive, which in turn contains two tar archives. dpkg will first extract a tar archive called control.tar.gz (or bz2) from the package, and from that tar

[issue6054] tarfile normalizes arcname

2009-05-18 Thread mkv
New submission from mkv : 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