[issue15858] tarfile missing entries due to omitted uid/gid fields

Eric Floehr report at bugs.python.org
Mon Feb 24 04:10:48 CET 2014


Eric Floehr added the comment:

I have attached a patch file for test_tarfile.py that uses the attached 'bad.tar' to test this issue.

After applying this test patch, put 'bad.tar' in Lib/test with the name 'issue15858.tar'.

This tests Tarfile.next(), but the issue can be seen via the command line interface, which uses .next() under the covers:

Pre-patch:
$ ./python -m tarfile -l Lib/test/issue15858.tar 
foo/ 

Post-patch:
$ ./python -m tarfile -l Lib/test/issue15858.tar 
foo/ 
foo/a

----------
keywords: +patch
nosy: +efloehr
Added file: http://bugs.python.org/file34208/test_tarfile.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15858>
_______________________________________


More information about the Python-bugs-list mailing list