test(droid): enforce POSIX fixture permissions

This commit is contained in:
ZacharyZhang-NY committed 2026-07-21 01:41:46 -04:00
1 parent 909f3dd106
commit dce7d1288a
2 files changed
+12 -4

No files matched your search

+2
View File
@@ -229,6 +229,8 @@ def test_cli_preflight_blocks_disabled_hooks_before_runtime_creation(
VALID_PRIVATE_KEY,
encoding="utf-8",
)
if os.name != "nt":
key_path.chmod(0o600)
environment = {
**os.environ,
"HOME": str(home_dir),