[Python-bugs-list] [ python-Bugs-479469 ] File copy fails on True64 AFS file syste

noreply@sourceforge.net noreply@sourceforge.net
Fri, 01 Feb 2002 10:31:21 -0800


Bugs item #479469, was opened at 2001-11-08 00:03
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=479469&group_id=5470

Category: Distutils
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Konrad Hinsen (hinsen)
>Assigned to: A.M. Kuchling (akuchling)
Summary: File copy fails on True64 AFS file syste

Initial Comment:
The following report comes from an MMTK user who has a peculiar installation problem which is probably caused by some Distutils bug/feature:

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

As an aside, I'm having problems with the installation of MMTK itself on Alpha/Tru64.  I keep getting these:

copying MMTK/Database/Groups/aspartic_acid_uni2 -> /afs/bi/v/@sys/languages/python/latest/lib/python2.0/site-packages/MMTK/Database/Groups
error: /afs/bi/v/@sys/languages/python/latest/lib/python2.0/site-packages/MMTK/Database/Groups/aspartic_acid_uni2: Not owner

The file is copied, but the installation process halts there. I am able to proceed by rerunning the python setup.py install; it notices that that file got there OK, copies the next one, and halts again.

As you notice, we have the AFS file system (whose chmod/chown semantics are quite different from regular UNIX). This is not a problem on Linux, HP, SGI or Sun, only on Alpha. Also, it does not matter whether I have my normal account or the administrator account on AFS. What is the installation program trying to do and is it altogether necessary?

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

The setup.py script is attached. The file mentioned above is one of the data files that end up in the data_files variable.


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

>Comment By: A.M. Kuchling (akuchling)
Date: 2002-02-01 10:31

Message:
Logged In: YES 
user_id=11375

Revision 1.12 of Lib/distutils/file_util.py now unlinks the
destination file
before copying to it.  Perhaps this will fix the problems on
AFS.

(Let me know if it doesn't.)


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

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