Skip to content

Commit cd0ea9e

Browse files
committed
add chmod statement
1 parent 1241e40 commit cd0ea9e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

airbyte_cdk/test/standard_tests/models/scenario.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ def with_temp_config_file(self) -> Generator[Path, None, None]:
9898
path = Path(path_str)
9999
try:
100100
path.write_text(json.dumps(config))
101+
# Allow the file to be read by other processes
102+
path.chmod(path.stat().st_mode | 0o444)
101103
yield path
102104
finally:
103105
# attempt cleanup, ignore errors

0 commit comments

Comments
 (0)