mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
Give 0o644 a single home in utils/filesystem as SERVED_FILE_MODE, used by both the ZIP cache and FSHandler._atomic_write. Collapse the mode repair to one call site behind a single stat per cache hit, close the temp descriptor unconditionally, and log the build where the namespace is already in scope. Deduplicate the test fixtures and drive the concurrency test with a barrier on flock instead of a sleep, so the race is guaranteed rather than timed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>