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 csernazs
Recipients csernazs
Date 2018-07-28.12:43:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1532781781.14.0.56676864532.issue34260@psf.upfronthosting.co.za>
In-reply-to
Content
The docstring of shutil.copy2 says the following:

Copy data and all stat info ("cp -p src dst").

This can be misleading as it is not the same as 'cp -p', as it does not copy the file owner (uid and gid). That would need to have a chown() call to be made, which is currently not called unavailable.

I would like to have the documentation fixed by adding that it does not copies file owner and group.
History
Date User Action Args
2018-07-28 12:43:01csernazssetrecipients: + csernazs
2018-07-28 12:43:01csernazssetmessageid: <1532781781.14.0.56676864532.issue34260@psf.upfronthosting.co.za>
2018-07-28 12:43:01csernazslinkissue34260 messages
2018-07-28 12:43:01csernazscreate