[Python-Dev] Ext4 data loss

Antoine Pitrou solipsis at pitrou.net
Wed Mar 11 00:34:59 CET 2009

Neil Hodgson <nyamatongwe <at> gmail.com> writes:
> What would be useful is a simple, generic
> way in Python to copy all the appropriate metadata (ownership, ACLs,
> ...) to another file so the temporary-and-rename technique could be
> used.

How about shutil.copystat()?

More information about the Python-Dev mailing list