]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-84461: Fix Emscripten umask and permission issues (GH-94002)
authorChristian Heimes <christian@python.org>
Sun, 19 Jun 2022 16:28:55 +0000 (18:28 +0200)
committerGitHub <noreply@github.com>
Sun, 19 Jun 2022 16:28:55 +0000 (18:28 +0200)
commit2702e408fd0e0dd7aec396b4cf8c7ce9caae81d8
treef3c5b2459a940b3b67e0059b7a2ed936cb6f5cf0
parent476d30250811e185615dfb971c6a810cac2093bd
gh-84461: Fix Emscripten umask and permission issues (GH-94002)

- Emscripten's default umask is too strict, see
  https://github.com/emscripten-core/emscripten/issues/17269
- getuid/getgid and geteuid/getegid are stubs that always return 0
  (root). Disable effective uid/gid syscalls and fix tests that use
  chmod() current user.
- Cannot drop X bit from directory.
Lib/test/libregrtest/main.py
Lib/test/test_posix.py
Lib/test/test_pydoc.py
Tools/wasm/config.site-wasm32-emscripten