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:53:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609268002.56.0.501688503859.issue42782@roundup.psfhosted.org>
In-reply-to
Content
To replicate:

$ mkdir foo
$ sudo chown root foo
$ sudo touch foo/child
$ python3
>>> import shutil
>>> shutil.move('foo', 'bar')
PermissionError
$ ls foo
child
$ ls bar
child

If shutil.move() encountered a permission error and failed, bar should not have been created.
History
Date User Action Args
2020-12-29 18:53:22winsonluksetrecipients: + winsonluk
2020-12-29 18:53:22winsonluksetmessageid: <1609268002.56.0.501688503859.issue42782@roundup.psfhosted.org>
2020-12-29 18:53:22winsonluklinkissue42782 messages
2020-12-29 18:53:22winsonlukcreate