adding recursive chown on slurm config

This commit is contained in:
Jean-François GUILLAUME 2022-11-21 13:02:31 +01:00
parent a8ff7247cf
commit a6a94f8b02
GPG key ID: 38751DAE145EFB5A

View file

@ -244,9 +244,8 @@
(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")))
)
(find-files "/etc/slurm")
)
(chmod "0600" slurm-file)
)(find-files "/etc/slurm"))
#t
)
)