Remove dbus privilege check code 90/46990/1 accepted/tizen/mobile/20150829.025946 accepted/tizen/tv/20150829.030815 accepted/tizen/wearable/20150829.031328 submit/tizen/20150828.070257
authorMinje Ahn <minje.ahn@samsung.com>
Fri, 28 Aug 2015 00:46:47 +0000 (09:46 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Fri, 28 Aug 2015 00:46:47 +0000 (09:46 +0900)
Change-Id: Idafea222575c28bc6e2a6f37220838a24226e729
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
dbus/media-server.conf [deleted file]
packaging/media-server.spec

diff --git a/dbus/media-server.conf b/dbus/media-server.conf
deleted file mode 100644 (file)
index 467ab71..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<!DOCTYPE busconfig PUBLIC
-       "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
-       "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
-<busconfig>
-       <!-- allow only privileged applications to send and receive notifications -->
-       <policy context="default">
-               <check    send_interface="com.mediaserver.dbus.Signal" privilege="http://tizen.org/privilege/mediastorage" />
-               <check receive_interface="com.mediaserver.dbus.Signal" privilege="http://tizen.org/privilege/mediastorage" />
-       </policy>
-
-       <!-- allow root to send and receive notifications  -->
-       <policy user="root">
-               <allow    send_interface="com.mediaserver.dbus.Signal" />
-               <allow receive_interface="com.mediaserver.dbus.Signal" />
-       </policy>
-</busconfig>
index d952fd1..d2c58f7 100755 (executable)
@@ -79,8 +79,6 @@ install -D -m 0775 ./data-media/dbspace/file-manager-service/.thumb/mmc/* %{buil
 install -m 0775 ./data-media/dbspace/file-manager-service/.thumb/phone/PHONE_THUMB_HERE %{buildroot}%{TZ_SYS_DATA}/file-manager-service/.thumb/phone/
 install -m 0775 ./data-media/dbspace/file-manager-service/.thumb/phone/.jpg* %{buildroot}%{TZ_SYS_DATA}/file-manager-service/.thumb/phone/
 install -D -m 0775 ./data-media/dbspace/file-manager-service/* %{buildroot}%{TZ_SYS_DATA}/file-manager-service/
-mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d
-install -m 0644 dbus/media-server.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/
 
 %post
 vconftool set -t int db/filemanager/dbupdate "1" -f
@@ -105,7 +103,6 @@ ln -sf ../media-server-user.path  %{_unitdir_user}/default.target.wants/
 %{_bindir}/media-server
 %{_bindir}/media-scanner
 %{_bindir}/mediadb-update
-%config %{_sysconfdir}/dbus-1/system.d/media-server.conf
 %exclude %attr(755,-,-) %{_sysconfdir}/rc.d/init.d/mediasvr
 %exclude /etc/rc.d/rc3.d/S46mediasvr
 %exclude /etc/rc.d/rc5.d/S46mediasvr