Merge branch 'devel' into 'main'

adding recursive chown on slurm config

See merge request glicid-public/guix-glicid!128
This commit is contained in:
Jean-François GUILLAUME 2022-11-21 12:03:01 +00:00
commit 3257b44812

View file

@ -243,10 +243,9 @@
(chown "/var/spool/slurmctld" (passwd:uid (getpwnam "slurm")) (passwd:gid (getpwnam "slurm"))) (chown "/var/spool/slurmctld" (passwd:uid (getpwnam "slurm")) (passwd:gid (getpwnam "slurm")))
(chown "/etc/slurm" (passwd:uid (getpwnam "slurm")) (passwd:gid (getpwnam "slurm"))) (chown "/etc/slurm" (passwd:uid (getpwnam "slurm")) (passwd:gid (getpwnam "slurm")))
(for-each (lambda (slurm-file) (for-each (lambda (slurm-file)
(chown slurm-file (passwd:uid (getpwnam "slurm")) (passwd:gid (getpwnam "slurm"))) (chown slurm-file (passwd:uid (getpwnam "slurm")) (passwd:gid (getpwnam "slurm")))
) (chmod "0600" slurm-file)
(find-files "/etc/slurm") )(find-files "/etc/slurm"))
)
#t #t
) )
) )