[issue1438480] shutil.move raises OSError when copystat fails

Éric Araujo report at bugs.python.org
Tue Aug 9 17:36:22 CEST 2011


Éric Araujo <merwok at netwok.org> added the comment:

> In my opinion, anyone wanting to deal with low-level details like
> mtimes and modes is probably not using shutil

As a moderately experienced UNIX user, I would say that file permissions are not low-level details.  I see shutil functions as convenient wrappers to automate looping and calling a function, but I do care about file permissions.

If people are still interested in this modification, I think it would need a backward-compatible change, for example in the form of a new argument ignore_permission_errors, or a more generic onerror callback like rmtree has.

----------
nosy: +eric.araujo
versions: +Python 3.3 -Python 2.7, Python 3.1, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1438480>
_______________________________________


More information about the Python-bugs-list mailing list