Skip to content

Commit

Permalink
全ユーザーで実行可能にする
Browse files Browse the repository at this point in the history
  • Loading branch information
melpon committed Nov 16, 2023
1 parent 9b78521 commit a1b1c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ def install_protoc_gen_jsonif(version, source_dir, install_dir, platform: str):
# なぜか実行属性が消えてるので入れてやる
for file in os.scandir(os.path.join(jsonif_install_dir, 'bin')):
if file.is_file:
os.chmod(file.path, file.stat().st_mode | stat.S_IXUSR)
os.chmod(file.path, file.stat().st_mode | stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH)
cmd(['ls', '-lha', os.path.join(jsonif_install_dir, 'bin')])


Expand Down

0 comments on commit a1b1c17

Please sign in to comment.