Skip to content

Commit

Permalink
Merge pull request #189 from rhysnewell/loosen-permissions
Browse files Browse the repository at this point in the history
Loosen same-group permissions for folders and logs
  • Loading branch information
AroneyS authored Jan 2, 2024
2 parents c9371d1 + f89d76c commit d340802
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aviary/modules/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
# ruleorder: filtlong_no_reference > link_reads

onsuccess:
shell("chmod g+w {log}")
print("Aviary finished, no error")

onerror:
shell("chmod g+w {log}")
print("An error occurred")

onstart:
Expand Down Expand Up @@ -44,6 +46,7 @@ onstart:
from snakemake.utils import min_version
import os
min_version("6.0")
os.umask(0o002)

module qc:
snakefile: "quality_control/qc.smk"
Expand Down

0 comments on commit d340802

Please sign in to comment.