Skip to content

Commit

Permalink
Add -f to chmod in SLURM executor to silence errors (ref #341)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcompa committed Jan 10, 2023
1 parent 97c038b commit dc23539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fractal_server/app/runner/_slurm/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def compose_sbatch_script(

cmd = [
shlex.join(["srun", *cmdline]),
f"chmod 777 {outpath.parent / '*'}",
f"chmod -f 777 {outpath.parent / '*'}",
]

script_lines = ["#!/bin/sh"] + sbatch_lines + non_sbatch_lines + cmd
Expand Down

0 comments on commit dc23539

Please sign in to comment.