From: Taejin Woo Date: Wed, 9 Sep 2015 02:10:40 +0000 (+0900) Subject: Change the uid and smack lable from system to root X-Git-Tag: submit/tizen_mobile/20150909.022934 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fsubmit%2Ftizen_mobile%2F20150909.022934;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git Change the uid and smack lable from system to root we need to access specific directories regardless of file permission Change-Id: I6cb045471e84ccef5bc62f4775c11a47f24d6396 Signed-off-by: Taejin Woo --- diff --git a/bt-service/bluetooth-frwk-service.conf.in b/bt-service/bluetooth-frwk-service.conf.in index 86bcd8a..4bedc42 100644 --- a/bt-service/bluetooth-frwk-service.conf.in +++ b/bt-service/bluetooth-frwk-service.conf.in @@ -6,6 +6,11 @@ + + + + + diff --git a/bt-service/org.projectx.bt.service b/bt-service/org.projectx.bt.service index f612e67..079751c 100644 --- a/bt-service/org.projectx.bt.service +++ b/bt-service/org.projectx.bt.service @@ -1,6 +1,4 @@ [D-BUS Service] Name=org.projectx.bt Exec=/bin/false -User=system -Group=system SystemdService=bluetooth-frwk.service diff --git a/packaging/bluetooth-frwk-mobile.service b/packaging/bluetooth-frwk-mobile.service index ddcb51c..09010da 100644 --- a/packaging/bluetooth-frwk-mobile.service +++ b/packaging/bluetooth-frwk-mobile.service @@ -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