Reviewed: https://review.openstack.org/318282 Committed: https://git.openstack.org/cgit/openstack/fuel-octane/commit/?id=9ca2a414f5b95acc098babf61d07d1438b5b8e74 Submitter: Jenkins Branch: stable/8.0
commit 9ca2a414f5b95acc098babf61d07d1438b5b8e74 Author: Oleg Gelbukh <email address hidden> Date: Tue May 17 21:49:22 2016 +0000
Use shutil.copy2 to preserve file stats in backup
To preserve file ownership and permissions in backup and some other places, move from using shutil.copy to shutil.copy2.
Change-Id: I8f00834ab598267ccc54f18cea70d6db415ba69d Closes-bug: 1572922 (cherry picked from commit 969c90144e468942d54bcc0ccc7fa820b7b4a0a1)
Reviewed: https:/ /review. openstack. org/318282 /git.openstack. org/cgit/ openstack/ fuel-octane/ commit/ ?id=9ca2a414f5b 95acc098babf61d 07d1438b5b8e74
Committed: https:/
Submitter: Jenkins
Branch: stable/8.0
commit 9ca2a414f5b95ac c098babf61d07d1 438b5b8e74
Author: Oleg Gelbukh <email address hidden>
Date: Tue May 17 21:49:22 2016 +0000
Use shutil.copy2 to preserve file stats in backup
To preserve file ownership and permissions in backup and
some other places, move from using shutil.copy to shutil.copy2.
Change-Id: I8f00834ab59826 7ccc54f18cea70d 6db415ba69d 2d54bcc0ccc7fa8 20b7b4a0a1)
Closes-bug: 1572922
(cherry picked from commit 969c90144e46894