Message60836
shutil.move() does not preserve file and directory
ownership when moving a whole directory tree to a
different filesystem. This does not happen when
shutil.move() is used to move a directory tree within
the same filesystem.
Version: python 2.4.2
I have had a look at the source code in shutil.py and
noticed that shutil.copystat() does not copy the
ownership information, whereas "stat" command does
output information about the ownership (on GNU/Linux at
least).
The only discussion I found refering to file /
directory ownership and possible security implications
(if any) can be found here:
http://mail.python.org/pipermail/python-bugs-list/2004-November/025985.html
|
|
Date |
User |
Action |
Args |
2008-01-20 09:58:16 | admin | link | issue1355826 messages |
2008-01-20 09:58:16 | admin | create | |
|