Merge branch 'devel' into 'main'

adding recursive chown on slurm config

See merge request glicid-public/guix-glicid!127
This commit is contained in:
Jean-François GUILLAUME 2022-11-21 11:51:19 +00:00
commit fd7fe303e1

View file

@ -242,7 +242,11 @@
(chown "/var/lib/slurm" (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")))
(for-each (lambda (slurm-file) (chown slurm-file (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")
)
#t
)
)