SIGN IN SIGN UP

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.
O
Olexa Bilaniuk committed
79efbb719383386051c72f2ee932eeca8e033e6b
Parent: 948ed8c
Committed by Giampaolo Rodola <g.rodola@gmail.com> on 5/10/2019, 3:22:06 AM