We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 584d6e3 commit 584dd33Copy full SHA for 584dd33
1 file changed
pyhilo/util/state.py
@@ -129,6 +129,7 @@ def _write_state(state_yaml: str, state: dict[str, Any] | StateDict) -> None:
129
) as tmp:
130
tmp.write(content)
131
tmp_path = tmp.name
132
+ os.chmod(tmp_path, 0o644)
133
os.replace(tmp_path, state_yaml)
134
135
0 commit comments