Merge branch 'devel' into 'main'

adding recursive chown on slurm config

See merge request glicid-public/guix-glicid!125
This commit is contained in:
Jean-François GUILLAUME 2022-11-21 09:58:50 +00:00
commit d31ae00464

View file

@ -239,6 +239,8 @@
(chown "/var/lib/slurm-archives" (passwd:uid (getpwnam "slurm")) (passwd:gid (getpwnam "slurm")))
(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 (chown (find-files "/etc/slurm/") (passwd:uid (getpwnam "slurm")) (passwd:gid (getpwnam "slurm"))))
#t
)
)