left4me/l4d2web/services
mwiegand 908bca3687
fix(l4d2-web): ScriptBuilder — chmod script tmpfile to 0644 for sandbox read
NamedTemporaryFile creates the script file at mode 0600 owned by the
left4me web user. The sandbox runs as l4d2-sandbox and bwrap bind-mounts
the file read-only at /script.sh, but the kernel still enforces the
underlying file's permissions — l4d2-sandbox can't read 0600 left4me
files, so /bin/bash /script.sh fails with "Permission denied".

Script content is not a secret (it's stored in the DB and editable by
the user), so 0644 is appropriate.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 16:18:00 +02:00
..
__init__.py chore(l4d2): flatten component layout 2026-05-05 23:47:06 +02:00
host_commands.py fix(l4d2-web): keep SSE log stream from pinning gunicorn threads 2026-05-08 11:18:56 +02:00
job_worker.py refactor(l4d2-web): drop refresh_global_overlays from scheduler 2026-05-08 15:45:34 +02:00
l4d2_facade.py feat(l4d2-web): ScriptBuilder + BUILDERS registry update 2026-05-08 15:39:13 +02:00
overlay_builders.py fix(l4d2-web): ScriptBuilder — chmod script tmpfile to 0644 for sandbox read 2026-05-08 16:18:00 +02:00
overlay_creation.py feat(l4d2-web): overlay path helpers and creation 2026-05-07 16:38:39 +02:00
security.py security: harden boundary inputs and production defaults 2026-05-07 00:53:33 +02:00
spec_yaml.py chore(l4d2): flatten component layout 2026-05-05 23:47:06 +02:00
status.py chore(l4d2): flatten component layout 2026-05-05 23:47:06 +02:00
steam_workshop.py feat(l4d2-web): steam workshop API client and downloader 2026-05-07 16:37:39 +02:00
workshop_paths.py feat(l4d2-web): overlay path helpers and creation 2026-05-07 16:38:39 +02:00