Skip to content

Commit 68fa5af

Browse files
committed
Use correct mode
1 parent 05961a3 commit 68fa5af

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

image/src/opentofu/download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,6 @@ def get_executable(version: Version) -> Path:
181181

182182
executable_path = Path(executable_dir, 'tofu')
183183

184-
os.chmod(executable_path, 755)
184+
os.chmod(executable_path, 0o755)
185185

186186
return executable_path

image/src/terraform/download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,6 @@ def get_executable(version: Version) -> Path:
214214

215215
executable_path = Path(executable_dir, 'terraform')
216216

217-
os.chmod(executable_path, 755)
217+
os.chmod(executable_path, 0o755)
218218

219219
return executable_path

0 commit comments

Comments
 (0)