diff --git a/glicid/services/parallel.scm b/glicid/services/parallel.scm index 35413b9..4d41677 100644 --- a/glicid/services/parallel.scm +++ b/glicid/services/parallel.scm @@ -243,10 +243,9 @@ (chown "/var/spool/slurmctld" (passwd:uid (getpwnam "slurm")) (passwd:gid (getpwnam "slurm"))) (chown "/etc/slurm" (passwd:uid (getpwnam "slurm")) (passwd:gid (getpwnam "slurm"))) (for-each (lambda (slurm-file) - (chown slurm-file (passwd:uid (getpwnam "slurm")) (passwd:gid (getpwnam "slurm"))) - ) - (find-files "/etc/slurm") - ) + (chown slurm-file (passwd:uid (getpwnam "slurm")) (passwd:gid (getpwnam "slurm"))) + (chmod "0600" slurm-file) + )(find-files "/etc/slurm")) #t ) )