diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-08-13 17:39:14 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-13 17:39:14 (GMT) |
| commit | d218810e203bc8a4f40818ebd51d2be90d3966cd (patch) | |
| tree | 2d9632d7747a03970e5fadc2e9bb01add20f3d67 /Python/tracemalloc.c | |
| parent | 4aa0e795a98325619832fbafda9ee55f46f985e3 (diff) | |
| download | cpython-d218810e203bc8a4f40818ebd51d2be90d3966cd.zip cpython-d218810e203bc8a4f40818ebd51d2be90d3966cd.tar.gz cpython-d218810e203bc8a4f40818ebd51d2be90d3966cd.tar.bz2 | |
[3.13] GH-85633: Fix pathlib test failures on filesystems without world-write. (GH-122883) (#122979)
GH-85633: Fix pathlib test failures on filesystems without world-write. (GH-122883)
Replace `umask(0)` with `umask(0o002)` so the created files are not
world-writable, and replace `umask(0o022)` with `umask(0o026)` to check
that permissions for 'others' can still be set.
(cherry picked from commit 5f6851152254b4b9d70af4ae5aea3f20965cee28)
Co-authored-by: Barney Gale <barney.gale@gmail.com>
Diffstat (limited to 'Python/tracemalloc.c')
0 files changed, 0 insertions, 0 deletions
