This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author samtygier
Recipients samtygier, tarek
Date 2010-06-02.13:38:32
SpamBayes Score 0.051269557
Marked as misclassified No
Message-id <1275485916.86.0.44676570948.issue8876@psf.upfronthosting.co.za>
In-reply-to
Content
distutils will currently try to use hardlinks if os has a 'link' attribute, however sometimes os.link() will fail, for example the filesystem may not support it (see attached traceback).

in commands/sdist.py in make_release_tree() there is the test:
        if hasattr(os, 'link'):        # can make hard links on this system
            link = 'hard'
            msg = "making hard links in %s..." % base_dir

'link' is then passed to copy_file() in file_util.py, which trusts that if link == 'hard', then hardlinking will work.

there has been discussion in the past, but i dont think it has been fixed
http://thread.gmane.org/gmane.comp.python.distutils.devel/2076
History
Date User Action Args
2010-06-02 13:38:37samtygiersetrecipients: + samtygier, tarek
2010-06-02 13:38:36samtygiersetmessageid: <1275485916.86.0.44676570948.issue8876@psf.upfronthosting.co.za>
2010-06-02 13:38:34samtygierlinkissue8876 messages
2010-06-02 13:38:34samtygiercreate