diff options
| author | Andrey <lopsin232@gmail.com> | 2026-11-24 17:09:40 +0300 |
|---|---|---|
| committer | Andrey <lopsin232@gmail.com> | 2026-11-24 17:09:40 +0300 |
| commit | d90e4b213f82d12ab45250ddc0b3c6a110d35e7a (patch) | |
| tree | 8c70c14325eee16787561f5bcfba8ca9db28ad4b /scripts/launcher_python.sh | |
| parent | d0da7dade8b688f2e0f7f23f4155d6cbb438809e (diff) | |
world_build: restore write mode before unlink on replace failure in _write_json_atomic (WORLD-BUILD-STAGE-CLEANUP)
When writing world JSON atomically, if os.replace fails (for instance due to
permission errors), resetting os.chmod to 0o600 ensures unlinking the
temporary file does not fail on Windows with PermissionError.
agent: yes
AI-assisted: yes
Diffstat (limited to 'scripts/launcher_python.sh')
0 files changed, 0 insertions, 0 deletions