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 eshan-singhal
Recipients Jeffrey.Kintscher, eric.araujo, eshan-singhal, piman, thomaswaldmann
Date 2019-12-11.16:18:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1576081090.32.0.931532502037.issue1438480@roundup.psfhosted.org>
In-reply-to
Content
Amending shutil.copy and shutil.copy2 to expose a method of ignoring the permission errors rather than changing the current behaviour would not fix the original issue without further changes in consumers of these functions to pass through the new parameter (i.e. shutil.move in this scenario).

This may be undesirable as copy_function is an optional parameter to shutil.move and so there would have to be a specialcase guard/check to see if the copy_function is shutil.copy or shutil.copy2 when passing in a new ignore_permission_errors parameter.

I propose a new issue to track adding functionality to optionally ignore permission issues for shutil.copy/shutil.copy2, and this issue can remain open.
History
Date User Action Args
2019-12-11 16:18:10eshan-singhalsetrecipients: + eshan-singhal, thomaswaldmann, piman, eric.araujo, Jeffrey.Kintscher
2019-12-11 16:18:10eshan-singhalsetmessageid: <1576081090.32.0.931532502037.issue1438480@roundup.psfhosted.org>
2019-12-11 16:18:10eshan-singhallinkissue1438480 messages
2019-12-11 16:18:09eshan-singhalcreate