mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 18:11:16 +01:00
test_extract_chd_hash_permission_error removed read permission with chmod(0o000), but root ignores permission bits, so the read succeeded and the test failed in root containers (Docker dev environments, cloud sandboxes). Patch the open inside extract_chd_hash to raise PermissionError instead, so the handling is exercised for every user. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>