Feature or enhancement
Proposal:
Summary
Fix pathlib.Path.copy() failing on Windows when copying files that require elevated privileges (e.g., hidden or system files) by adding a fallback mechanism when copyfile2 encounters privilege-related errors.
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs
Feature or enhancement
Proposal:
Summary
Fix
pathlib.Path.copy()failing on Windows when copying files that require elevated privileges (e.g., hidden or system files) by adding a fallback mechanism whencopyfile2encounters privilege-related errors.Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs