8000 [3.13] GH-85633: Fix pathlib test failures on filesystems without world-write. (GH-122883) by miss-islington · Pull Request #122979 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.13] GH-85633: Fix pathlib test failures on filesystems without world-write. (GH-122883) #122979

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

miss-islington
Copy link
Contributor
@miss-islington miss-islington commented Aug 13, 2024

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 5f68511)

Co-authored-by: Barney Gale barney.gale@gmail.com

…d-write. (pythonGH-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 5f68511)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
@bedevere-app bedevere-app bot added tests Tests in the Lib/test dir awaiting review labels Aug 13, 2024
@barneygale barneygale enabled auto-merge (squash) August 13, 2024 17:11
@barneygale barneygale merged commit d218810 into python:3.13 Aug 13, 2024
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir topic-pathlib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0