1 message in org.python.python-bugs-list[ python-Bugs-857297 ] Tarfile and ha...
FromSent OnAttachments
SourceForge.netMar 15, 2004 3:54 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[ python-Bugs-857297 ] Tarfile and hard-linksActions...
From:SourceForge.net (nore@sourceforge.net)
Date:Mar 15, 2004 3:54:03 pm
List:org.python.python-bugs-list

Bugs item #857297, was opened at 2003-12-10 03:22 Message generated for change (Comment added) made by gustaebel 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: Open Resolution: None Priority: 5 Submitted By: Ricardo Martins (aggression) Assigned to: Nobody/Anonymous (nobody) 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: Lars Gust?bel (gustaebel) Date: 2004-03-15 21:54

Message: Logged In: YES user_id=642936

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

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