[issue1076515] shutil.move clobbers read-only files.
Greg Roodt
report at bugs.python.org
Sat Jul 7 17:52:53 CEST 2012
Greg Roodt <groodt at gmail.com> added the comment:
I believe this can be closed.
shutil.copyfile attempts to copy file contents from src to dst, so it makes sense for this to fail if dst is read-only.
shutil.move replaces the dst, which is permitted based on directory permissions.
----------
nosy: +groodt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1076515>
_______________________________________
More information about the Python-bugs-list
mailing list