From 616454e3f1f0cf6fd3d1b2d894630bdbb9c27c46 Mon Sep 17 00:00:00 2001 From: Sergio Correia Date: Thu, 27 Jan 2022 14:28:36 -0300 Subject: [PATCH] Fix permissions of config file --- keylime.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/keylime.spec b/keylime.spec index 59fafba..db38d48 100644 --- a/keylime.spec +++ b/keylime.spec @@ -2,7 +2,7 @@ Name: keylime Version: 6.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Open source TPM software for Bootstrapping and Maintaining Trust BuildArch: noarch @@ -96,11 +96,14 @@ cp -r ./tpm_cert_store %{buildroot}%{_sharedstatedir}/keylime/ %{_bindir}/%{srcname}_userdata_encrypt %{_bindir}/%{srcname}_ima_emulator %{_bindir}/%{srcname}_webapp -%config(noreplace) %{_sysconfdir}/%{srcname}.conf +%config(noreplace) %attr(600,root,root) %{_sysconfdir}/%{srcname}.conf %{_unitdir}/* %{_sharedstatedir}/keylime/tpm_cert_store/* %changelog +* Thu Jan 27 2022 Sergio Correia - 6.3.0-2 +- Fix permissions of config file + * Thu Jan 27 2022 Sergio Correia - 6.3.0-1 - Updating for Keylime release v6.3.0