From 30e777e099f344a1d8bab10aeea42b7dbf1b6bfb Mon Sep 17 00:00:00 2001 From: nsheff Date: Mon, 24 Apr 2023 16:32:08 -0400 Subject: [PATCH] make newly written submit script executable --- divvy/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/divvy/utils.py b/divvy/utils.py index 1d9b80c..b05671c 100644 --- a/divvy/utils.py +++ b/divvy/utils.py @@ -41,4 +41,5 @@ def write_submit_script(fp, content, data): os.makedirs(outdir) with open(fp, "w") as f: f.write(content) + os.chmod(fp, 0o755) # make executable return fp