[ python-Bugs-857297 ] Tarfile and hard-links

SourceForge.net noreply at sourceforge.net
Wed Jul 21 00:10:07 CEST 2004


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

Category: Python Library
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Ricardo Martins (aggression)
>Assigned to: Neal Norwitz (nnorwitz)
Summary: Tarfile and hard-links

Initial Comment:
The attachment has a tar.gz file which contains a file
and an hard-link to that file. The Python script
unpacks the tar file to 3 locations: the current
directory, the current directory specified by absolute
path and /tmp). In the machines I've tested it, when
unpacking to /tmp (or any other directory that does not
belongs to the same branch as the current) the
hard-link is not created. Am I missing something ?

I have tested it with the tarfile module that ships
with Python 2.3.2, and with the CVS tarfile module, the
behavior is the same.

Regards
Ricardo Martins

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

>Comment By: Neal Norwitz (nnorwitz)
Date: 2004-07-20 18:10

Message:
Logged In: YES 
user_id=33168

Checked in as:
 * Lib/tarfile.py; 1.13
 * Lib/test/test_tarfile.py; 1.13
 * Misc/NEWS; 1.1048

Perhaps this should be backported to 2.3?

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

Comment By: Lars Gustäbel (gustaebel)
Date: 2004-03-15 15:54

Message:
Logged In: YES 
user_id=642936

I submitted a patch (#916874) that fixes this.

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

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


More information about the Python-bugs-list mailing list