[issue1355826] shutil.move() does not preserve ownership

2010-04-20 Thread Tarek Ziadé

Tarek Ziadé  added the comment:

That's because there's no simple, portable way to copy all metadata.

If you need to copy all of them you will need to use OS-specific APIs

--
assignee:  -> tarek
nosy: +tarek
resolution:  -> wont fix
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1355826] shutil.move() does not preserve ownership

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy
stage:  -> test needed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1355826] shutil.move() does not preserve ownership

2009-03-02 Thread Armin Ronacher

Armin Ronacher  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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1355826] shutil.move() does not preserve ownership

2009-02-28 Thread Akira Kitada

Changes by Akira Kitada :


--
type:  -> feature request
versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com