[Python-bugs-list] [ python-Bugs-731403 ] test_tarfile writes in Lib/test directory

SourceForge.net noreply@sourceforge.net
Fri, 02 May 2003 08:20:47 -0700


Bugs item #731403, was opened at 2003-05-02 17:20
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=731403&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jack Jansen (jackjansen)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_tarfile writes in Lib/test directory

Initial Comment:
Test_tarfile writes a file in the Lib/test directory, which fails if Python 
has been installed read-only. It would be better if it used 
test_support.TESTFN as the basis for a filename to write to.

Here's the message for a binary install on MacOSX (framework 
Python):

test test_tarfile crashed -- exceptions.IOError: [Errno 13] Permission 
denied: '/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/test/testtar.tar.gz'


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

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