Change the uid and smack lable from system to root 98/47798/2 accepted/tizen/mobile/20150909.140946 accepted/tizen/tv/20150909.140251 accepted/tizen/wearable/20150909.135240 submit/tizen_mobile/20150909.022934 submit/tizen_tv/20150909.022930 submit/tizen_wearable/20150909.022927
authorTaejin Woo <tt.woo@samsung.com>
Wed, 9 Sep 2015 02:10:40 +0000 (11:10 +0900)
committerTaejin Woo <tt.woo@samsung.com>
Wed, 9 Sep 2015 02:24:20 +0000 (11:24 +0900)
we need to access specific directories regardless of file permission

Change-Id: I6cb045471e84ccef5bc62f4775c11a47f24d6396
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
bt-service/bluetooth-frwk-service.conf.in
bt-service/org.projectx.bt.service
packaging/bluetooth-frwk-mobile.service

index 86bcd8a..4bedc42 100644 (file)
@@ -6,6 +6,11 @@
         <allow own="org.projectx.bt_event"/>
        <allow send_type="method_call"/>
     </policy>
+    <policy group="root">
+        <allow own="org.projectx.bt"/>
+        <allow own="org.projectx.bt_event"/>
+    <allow send_type="method_call"/>
+    </policy>
     <policy at_console="true">
         <allow send_destination="org.projectx.bt"/>
     </policy>
index f612e67..079751c 100644 (file)
@@ -1,6 +1,4 @@
 [D-BUS Service]
 Name=org.projectx.bt
 Exec=/bin/false
-User=system
-Group=system
 SystemdService=bluetooth-frwk.service
index ddcb51c..09010da 100644 (file)
@@ -8,8 +8,6 @@ Type=dbus
 BusName=org.projectx.bt
 ExecStart=/usr/bin/bt-service
 KillMode=process
-User=system
-Group=system
 
 [Install]
 WantedBy=multi-user.target