mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-04-29 21:58:36 +02:00
adding recursive chown on slurm config
This commit is contained in:
parent
fca0455c59
commit
6b869dde0a
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue