Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision 0a5b88e7f23b671d63896619b13148b0e4e2b5dd authored by Miss Islington (bot) on 14 May 2019, 05:30:22 UTC, committed by Giampaolo Rodola on 14 May 2019, 05:30:22 UTC
bpo-24538: Fix bug in shutil involving the copying of xattrs to read-only files. (PR-13212) (#13234)
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. (cherry picked from commit 79efbb719383386051c72f2ee932eeca8e033e6b) Co-authored-by: Olexa Bilaniuk <obilaniu@users.noreply.github.com>
1 parent da86bf7
Tip revision: 0a5b88e7f23b671d63896619b13148b0e4e2b5dd authored by Miss Islington (bot) on 14 May 2019, 05:30:22 UTC
bpo-24538: Fix bug in shutil involving the copying of xattrs to read-only files. (PR-13212) (#13234)
bpo-24538: Fix bug in shutil involving the copying of xattrs to read-only files. (PR-13212) (#13234)
Tip revision: 0a5b88e
File | Mode | Size |
---|---|---|
.azure-pipelines | ||
.github | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Programs | ||
Python | ||
Tools | ||
m4 | ||
.gitattributes | -rw-r--r-- | 1.6 KB |
.gitignore | -rw-r--r-- | 1.5 KB |
.travis.yml | -rw-r--r-- | 6.1 KB |
CODE_OF_CONDUCT.rst | -rw-r--r-- | 631 bytes |
LICENSE | -rw-r--r-- | 12.5 KB |
Makefile.pre.in | -rw-r--r-- | 62.2 KB |
README.rst | -rw-r--r-- | 9.9 KB |
aclocal.m4 | -rw-r--r-- | 10.7 KB |
config.guess | -rwxr-xr-x | 43.1 KB |
config.sub | -rwxr-xr-x | 35.4 KB |
configure | -rwxr-xr-x | 491.6 KB |
configure.ac | -rw-r--r-- | 163.7 KB |
install-sh | -rwxr-xr-x | 7.0 KB |
pyconfig.h.in | -rw-r--r-- | 42.2 KB |
setup.py | -rw-r--r-- | 99.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...