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 serhiy.storchaka
Recipients Arfrever, benjamin.peterson, christian.heimes, georg.brandl, hynek, larry, milko.krachounov, neologix, pitrou, serhiy.storchaka, tarek
Date 2014-08-24.08:42:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
See also issue15795. It would be good to make shutil, zipfile and tarfile interfaces consistent.

I think we need more graduated interface matching coretools.

              preserve the specified attributes (default: mode,ownership,timestamps), if possible additional attributes: context, links, xattr, all

              don't preserve the specified attributes

This means that we should add preserve_mode, preserve_ownership, preserve_time, etc parameters. preserve_ownership should control also copying of suid/sgid/sticky bits. copy()'s defaults will be preserve_mode=True, preserve_ownership=False, preserve_time=False, copy2()'s defaults (corresponding to "cp -p" behavior) will be preserve_mode=True, preserve_ownership=True, preserve_time=True.
Date User Action Args
2014-08-24 08:42:33serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, pitrou, larry, christian.heimes, benjamin.peterson, tarek, Arfrever, milko.krachounov, neologix, hynek
2014-08-24 08:42:33serhiy.storchakasetmessageid: <>
2014-08-24 08:42:33serhiy.storchakalinkissue17180 messages
2014-08-24 08:42:33serhiy.storchakacreate