Set restrictive permissions on /root/.ssh in generic overlay

The permissions get used to overwrite the ones in the node filesystem.

Signed-off-by: Tobias Ribizel <mail@ribizel.de>
This commit is contained in:
Tobias Ribizel
2024-10-13 10:48:56 +02:00
committed by Jonathon Anderson
parent 4441d291d7
commit bb2b6291b5

View File

@@ -212,6 +212,8 @@ getent group %{wwgroup} >/dev/null || groupadd -r %{wwgroup}
%dir %{_sharedstatedir}/warewulf/overlays/wwinit
%dir %{_sharedstatedir}/warewulf/overlays/wwclient
%attr(-, root, root) %{_sharedstatedir}/warewulf/overlays/*/rootfs
%attr(700, root, root) %{_sharedstatedir}/warewulf/overlays/generic/rootfs/root
%attr(700, root, root) %{_sharedstatedir}/warewulf/overlays/generic/rootfs/root/.ssh
%attr(-, root, root) %{_bindir}/wwctl
%attr(-, root, root) %{_prefix}/lib/firewalld/services/warewulf.xml