From 51367fea5ccc7b522e0e6b8a6185925c2d581cef Mon Sep 17 00:00:00 2001 From: samuel Date: Thu, 11 May 2023 01:14:16 +0200 Subject: [PATCH] [Dev] Hide access to config file to non-authorized users --- netoik-api.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netoik-api.spec b/netoik-api.spec index 741432e..5d3ee67 100644 --- a/netoik-api.spec +++ b/netoik-api.spec @@ -53,6 +53,6 @@ fi %attr(755, %{name}, %{name}) %dir %{_var}/%{name}/captcha %attr(755, root, root) %dir %{_sysconfdir}/%{name} %attr(644, root, root) %{_sysconfdir}/%{name}/server.conf.sample -%attr(644, root, root) %config(noreplace) %{_sysconfdir}/%{name}/server.conf +%attr(640, root, %{name}) %config(noreplace) %{_sysconfdir}/%{name}/server.conf %attr(644, root, root) %{_unitdir}/%{name}-server.service %attr(755, root, root) %{_bindir}/%{name}-server