[issue1355826] shutil.move() does not preserve ownership
Armin Ronacher
report at bugs.python.org
Mon Mar 2 14:27:27 CET 2009
Armin Ronacher <armin.ronacher at active-4.com> added the comment:
While this is surprising, this is documented behavior:
"If the destination is on the current filesystem, then simply use
rename. Otherwise, copy src (with copy2()) to the dst and then remove src."
And copy2() uses copystat() and does not copy "contents, owner, and group".
----------
nosy: +aronacher
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1355826>
_______________________________________
More information about the Python-bugs-list
mailing list