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
0abd364f93
commit
a8ff7247cf
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue