[issue34260] shutil.copy2 is not the same as cp -p

2018-10-25 Thread Zsolt Cserna


Zsolt Cserna  added the comment:

Thanks for your help! :)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34260] shutil.copy2 is not the same as cp -p

2018-10-24 Thread STINNER Victor


STINNER Victor  added the comment:

Thanks Zsolt Cserna for the report and for the documentation enhancements! The 
doc is now way better.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34260] shutil.copy2 is not the same as cp -p

2018-10-24 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 4a59c9699ca8688359c460f98127a12e2db6e63b by Victor Stinner (Zsolt 
Cserna) in branch '2.7':
[2.7] bpo-34260, shutil: fix copy2 and copystat documentation (GH-8523) 
(GH-10071)
https://github.com/python/cpython/commit/4a59c9699ca8688359c460f98127a12e2db6e63b


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34260] shutil.copy2 is not the same as cp -p

2018-10-23 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 861f61b5a93d178e913ad3c760d529ee3155e66d by Victor Stinner (Zsolt 
Cserna) in branch '3.7':
[3.7] bpo-34260, shutil: fix copy2 and copystat documentation (GH-8523) 
(GH-10065)
https://github.com/python/cpython/commit/861f61b5a93d178e913ad3c760d529ee3155e66d


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34260] shutil.copy2 is not the same as cp -p

2018-10-23 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 797cfbd69e3484ecf25f5acf75b06691e3fc97fa by Victor Stinner (Zsolt 
Cserna) in branch '3.6':
[3.6] bpo-34260, shutil: fix copy2 and copystat documentation (GH-8523) 
(GH-10068)
https://github.com/python/cpython/commit/797cfbd69e3484ecf25f5acf75b06691e3fc97fa


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34260] shutil.copy2 is not the same as cp -p

2018-10-23 Thread Zsolt Cserna


Change by Zsolt Cserna :


--
pull_requests: +9405

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34260] shutil.copy2 is not the same as cp -p

2018-10-23 Thread Zsolt Cserna


Change by Zsolt Cserna :


--
pull_requests: +9404

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34260] shutil.copy2 is not the same as cp -p

2018-10-23 Thread Zsolt Cserna


Change by Zsolt Cserna :


--
pull_requests: +9401

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34260] shutil.copy2 is not the same as cp -p

2018-10-23 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 4f399be0e70d8b5516b6213568b7665765bb3114 by Victor Stinner (Zsolt 
Cserna) in branch 'master':
bpo-34260, shutil: fix copy2 and copystat documentation (GH-8523)
https://github.com/python/cpython/commit/4f399be0e70d8b5516b6213568b7665765bb3114


--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34260] shutil.copy2 is not the same as cp -p

2018-07-28 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch
pull_requests: +8041
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34260] shutil.copy2 is not the same as cp -p

2018-07-28 Thread Giampaolo Rodola'


Change by Giampaolo Rodola' :


--
nosy: +giampaolo.rodola

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34260] shutil.copy2 is not the same as cp -p

2018-07-28 Thread Zsolt Cserna


New submission from Zsolt Cserna :

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.

--
components: Library (Lib)
messages: 322551
nosy: csernazs
priority: normal
severity: normal
status: open
title: shutil.copy2 is not the same as cp -p
versions: Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com