-
-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Description
Currently the wrapper script is only executable for the owner.
-rwxr--r-- 1 tolsoft toladmin 478 Mar 14 19:57 samtools
Can we have an option to make them executable for others?
I made the following changes:
diff --git a/shpc/utils/fileio.py b/shpc/utils/fileio.py
index b8c5bb30f..061e3f424 100644
--- a/shpc/utils/fileio.py
+++ b/shpc/utils/fileio.py
@@ -123,7 +123,7 @@ def write_file(filename, content, mode="w", exec=False):
filey.writelines(content)
if exec:
st = os.stat(filename)
- os.chmod(filename, st.st_mode | stat.S_IEXEC)
+ os.chmod(filename, st.st_mode | stat.S_IXOTH)
return filename
Metadata
Metadata
Assignees
Labels
No labels