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 winsonluk
Recipients winsonluk
Date 2020-12-29.18:42:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
shutil.move calls shutil.copytree(), then os.rmtree() (in that order). If the user does not have permission to delete the source directory, copytree succeeds but rmtree fails. The user sees an error (Permission Denied), but the destination directory is still created. The expected behavior should be a Permission Denied without the creation of the destination directory.
Date User Action Args
2020-12-29 18:42:56winsonluksetrecipients: + winsonluk
2020-12-29 18:42:56winsonluksetmessageid: <>
2020-12-29 18:42:56winsonluklinkissue42782 messages
2020-12-29 18:42:56winsonlukcreate