Message322551
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. |
|
Date |
User |
Action |
Args |
2018-07-28 12:43:01 | csernazs | set | recipients:
+ csernazs |
2018-07-28 12:43:01 | csernazs | set | messageid: <1532781781.14.0.56676864532.issue34260@psf.upfronthosting.co.za> |
2018-07-28 12:43:01 | csernazs | link | issue34260 messages |
2018-07-28 12:43:01 | csernazs | create | |
|