working on perms for slurm

This commit is contained in:
Jean-François GUILLAUME 2022-11-21 14:16:56 +01:00
parent 6dcb745b93
commit cc4f6517ac
GPG key ID: 38751DAE145EFB5A

View file

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