Assign the network_fw UID / GID to bluetooth share service 07/174207/1 accepted/tizen/unified/20180403.182517 submit/tizen/20180329.232136 submit/tizen/20180401.231313
authorHyuk Lee <hyuk0512.lee@samsung.com>
Thu, 29 Mar 2018 05:41:31 +0000 (14:41 +0900)
committerHyuk Lee <hyuk0512.lee@samsung.com>
Thu, 29 Mar 2018 05:41:31 +0000 (14:41 +0900)
Change-Id: I5f6bfefa9fa86ac8d81c63564aa70c07ddbcecca
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
packaging/bluetooth-share-start.service

index 4a46d01..372836e 100644 (file)
@@ -2,10 +2,13 @@
 Description=Service to run bluetooth-share normally
 
 [Service]
+User=network_fw
+Group=network_fw
 Type=oneshot
 SmackProcessLabel=System
+SupplementaryGroups=priv_mediastorage priv_externalstorage
 ExecStartPre=/usr/bin/rm -f /run/.bluetooth_share_start
-ExecStart=/usr/bin/systemctl start --no-block bluetooth-share.service
+ExecStart=/usr/bin/bluetooth-share
 RemainAfterExit=no
 SuccessExitStatus=1
 StartLimitInterval=1