mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-24538: Fix bug in shutil involving the copying of xattrs to read-only files. (PR-13212)
Extended attributes can only be set on user-writeable files, but shutil previously first chmod()ed the destination file to the source's permissions and then tried to copy xattrs. This will cause failures if attempting to copy read-only files with xattrs, as occurs with Git clones on Lustre FS.
This commit is contained in:
parent
948ed8c96b
commit
79efbb7193
4 changed files with 15 additions and 1 deletions
|
@ -149,6 +149,7 @@ Stephen Bevan
|
|||
Ron Bickers
|
||||
Natalia B. Bidart
|
||||
Adrian von Bidder
|
||||
Olexa Bilaniuk
|
||||
David Binger
|
||||
Dominic Binks
|
||||
Philippe Biondi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue