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 sprif
Recipients
Date 2005-11-13.10:14:17
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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



History
Date User Action Args
2008-01-20 09:58:16adminlinkissue1355826 messages
2008-01-20 09:58:16admincreate