From d56f03bdd465c03e1b810235ed2fc7b2c0214e07 Mon Sep 17 00:00:00 2001 From: Deokhyun Kim Date: Mon, 18 Jun 2018 19:25:51 +0900 Subject: [PATCH] Set owner & group of auto-pair-blacklist as 'network_fw' - fopen(auto-pair-blacklist,w) fails Change-Id: Ib8d2a21a30fd2e6aecf52202ae41cf5fedf777a5 Signed-off-by: Deokhyun Kim --- packaging/bluetooth-frwk.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/bluetooth-frwk.spec b/packaging/bluetooth-frwk.spec index d994819..86d9b7d 100644 --- a/packaging/bluetooth-frwk.spec +++ b/packaging/bluetooth-frwk.spec @@ -385,7 +385,7 @@ ln -sf %{_libdir}/systemd/system/bluetooth-frwk-core.service %{_sysconfdir}/syst %post service /usr/bin/chsmack -a '_' %{_varlibdir}/bluetooth/auto-pair-blacklist -/usr/bin/chown 5001:100 %{_varlibdir}/bluetooth/auto-pair-blacklist +/usr/bin/chown network_fw:network_fw %{_varlibdir}/bluetooth/auto-pair-blacklist %files %manifest %{name}.manifest @@ -434,7 +434,7 @@ popd %{_bindir}/bluetooth-frwk-test %{_varlibdir}/bluetooth %{_prefix}/etc/bluetooth -%attr(-,owner,users) %{_varlibdir}/bluetooth/auto-pair-blacklist +%attr(-,network_fw,network_fw) %{_varlibdir}/bluetooth/auto-pair-blacklist %files httpproxy %manifest %{name}.manifest -- 2.7.4