From e80ff6bdeb3bba71bc27ffbf551a540a46cd5fe9 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Mon, 27 Aug 2012 00:53:58 +0200 Subject: [PATCH] dom0/spec: mark qrexec policy as config files Prevent override on upgrade, when user makes some own changes (especially "always allow" feature). --- rpm_spec/core-dom0.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rpm_spec/core-dom0.spec b/rpm_spec/core-dom0.spec index 26c0c0d1..842779f7 100644 --- a/rpm_spec/core-dom0.spec +++ b/rpm_spec/core-dom0.spec @@ -400,12 +400,12 @@ fi /usr/lib/qubes/qubes_rpc_multiplexer /usr/lib/qubes/qrexec_policy %dir /etc/qubes_rpc/policy -%attr(0664,root,qubes) /etc/qubes_rpc/policy/qubes.Filecopy -%attr(0664,root,qubes) /etc/qubes_rpc/policy/qubes.OpenInVM -%attr(0664,root,qubes) /etc/qubes_rpc/policy/qubes.SyncAppMenus -%attr(0664,root,qubes) /etc/qubes_rpc/policy/qubes.NotifyUpdates -%attr(0664,root,qubes) /etc/qubes_rpc/policy/qubes.ReceiveUpdates -%attr(0664,root,qubes) /etc/qubes_rpc/policy/qubes.VMShell +%attr(0664,root,qubes) %config(noreplace) /etc/qubes_rpc/policy/qubes.Filecopy +%attr(0664,root,qubes) %config(noreplace) /etc/qubes_rpc/policy/qubes.OpenInVM +%attr(0664,root,qubes) %config(noreplace) /etc/qubes_rpc/policy/qubes.SyncAppMenus +%attr(0664,root,qubes) %config(noreplace) /etc/qubes_rpc/policy/qubes.NotifyUpdates +%attr(0664,root,qubes) %config(noreplace) /etc/qubes_rpc/policy/qubes.ReceiveUpdates +%attr(0664,root,qubes) %config(noreplace) /etc/qubes_rpc/policy/qubes.VMShell /etc/qubes_rpc/qubes.SyncAppMenus /etc/qubes_rpc/qubes.NotifyUpdates /etc/qubes_rpc/qubes.ReceiveUpdates