From a19116bf9a4288c57aa84bd7940aec5f7c4236c6 Mon Sep 17 00:00:00 2001 From: Taejin Woo Date: Wed, 9 Sep 2015 11:10:40 +0900 Subject: [PATCH] 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 --- bt-service/bluetooth-frwk-service.conf.in | 5 +++++ bt-service/org.projectx.bt.service | 2 -- packaging/bluetooth-frwk-mobile.service | 2 -- 3 files changed, 5 insertions(+), 4 deletions(-) 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 -- 2.7.4