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 TTimo
Recipients TTimo
Date 2009-07-22.20:50:21
SpamBayes Score 3.3525098e-06
Marked as misclassified No
Message-id <>
shutil.copytree fails if there is a dangling symlink and symlink is set
to False (which is the default). It will raise an exception when trying
to get to the content of the symlink.

Tested on Debian Etch amd64, python 2.5.2

  File "/usr/lib/python2.5/", line 138, in copytree
    raise Error, errors
shutil.Error: [('/opt/daemons/gameslave/',
'/tmp/tmphxInsp/gameslave/', "[Errno 2] No such file or
directory: '/opt/daemons/gameslave/'")]

$ ls -1l /opt/daemons/gameslave/
lrwxrwxrwx 1 timo quakelive 20 Jul 22 14:32
/opt/daemons/gameslave/ -> timo@localhost.12341

(the link is created by emacs - means file being edited I'm guessing)
Date User Action Args
2009-07-22 20:50:24TTimosetrecipients: + TTimo
2009-07-22 20:50:23TTimosetmessageid: <>
2009-07-22 20:50:21TTimolinkissue6547 messages
2009-07-22 20:50:21TTimocreate