8000 [3.12] gh-113188: Fix shutil.copymode() and shutil.copystat() on Windows by serhiy-storchaka · Pull Request #113285 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.12] gh-113188: Fix shutil.copymode() and shutil.copystat() on Windows #113285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

serhiy-storchaka
Copy link
Member
@serhiy-storchaka serhiy-storchaka commented Dec 19, 2023

Previously it worked differenly if dst is a symbolic link: it 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.