Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Dec 23, 2023

Previously they worked differenly if dst is a symbolic link:
they modified the permission bits of dst itself rather than the file
it points to if follow_symlinks is true or src is not a symbolic link,
and did nothing if follow_symlinks is false and src is a symbolic link.
(cherry picked from commit c7874bb)

Co-authored-by: Serhiy Storchaka [email protected]

…n Windows (pythonGH-113285)

Previously they worked differenly if dst is a symbolic link:
they modified the permission bits of dst itself rather than the file
it points to if follow_symlinks is true or src is not a symbolic link,
and did nothing if follow_symlinks is false and src is a symbolic link.
(cherry picked from commit c7874bb)

Co-authored-by: Serhiy Storchaka <[email protected]>
@serhiy-storchaka serhiy-storchaka changed the title [3.11] [3.12] gh-113188: Fix shutil.copymode() and shutil.copystat() on Windows (GH-113285) [3.11] gh-113188: Fix shutil.copymode() and shutil.copystat() on Windows (GH-113285) Dec 23, 2023
@serhiy-storchaka serhiy-storchaka merged commit 80b2bad into python:3.11 Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants