gh-113188: Fix shutil.copymode() on Windows (GH-113189)
Previously it worked differently 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. Also document similar changes in shutil.copystat().
S
Serhiy Storchaka committed
6e02d79f96b30bacdbc7a85e42040920b3dee915
Parent: bdc8d66
Committed by GitHub <noreply@github.com>
on 12/23/2023, 11:07:54 AM