Set owner & group of auto-pair-blacklist as 'network_fw' 05/181805/2 accepted/tizen/unified/20180620.131458 submit/tizen/20180619.032800
authorDeokhyun Kim <dukan.kim@samsung.com>
Mon, 18 Jun 2018 10:25:51 +0000 (19:25 +0900)
committerPyun DoHyun <dh79.pyun@samsung.com>
Tue, 19 Jun 2018 00:44:41 +0000 (00:44 +0000)
 - fopen(auto-pair-blacklist,w) fails

Change-Id: Ib8d2a21a30fd2e6aecf52202ae41cf5fedf777a5
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
packaging/bluetooth-frwk.spec

index d994819..86d9b7d 100644 (file)
@@ -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