[ python-Bugs-949052 ] winzip cannot extrat tarfile created tars

SourceForge.net noreply at sourceforge.net
Wed Aug 18 15:56:33 CEST 2004


Bugs item #949052, was opened at 2004-05-06 12:22
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=949052&group_id=5470

Category: Python Interpreter Core
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Simon Eisenmann (longsleep)
Assigned to: Nobody/Anonymous (nobody)
Summary: winzip cannot extrat tarfile created tars

Initial Comment:
The tarfile module uses the posix way to handle long
file names per default. This is not supported by lots
of extractors (like winzip). This should be changed not
to be the default. Long file names should be handled by
the gnu extension anytime. right now this is reached by
setting $tarobject.posix = False manually.

In addition the tarfile module sets a file size on
directory entries. This isnt supported as well on well
known extractors like winzip. The size for directory
entries should be zero anytime. I attached a patch to
fix the latter problem.

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2004-08-18 15:56

Message:
Logged In: YES 
user_id=21627

Fixed with patch #995126.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=949052&group_id=5470


More information about the Python-bugs-list mailing list