diff options
author | Olexa Bilaniuk <obilaniu@users.noreply.github.com> | 2019-05-09 22:22:06 -0500 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2019-05-10 11:22:06 +0800 |
commit | 79efbb719383386051c72f2ee932eeca8e033e6b (patch) | |
tree | ca694616676aaad7de81f41ee5d1b16dd18455be /Python/pylifecycle.c | |
parent | 948ed8c96b6912541a608591efe3e00fb520429a (diff) | |
download | cpython-git-79efbb719383386051c72f2ee932eeca8e033e6b.tar.gz |
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.
Diffstat (limited to 'Python/pylifecycle.c')
0 files changed, 0 insertions, 0 deletions