Update service file and spec file 48/43548/1 submit/tizen/20150710.050854
authorSung-jae Park <nicesj.park@samsung.com>
Fri, 10 Jul 2015 05:01:59 +0000 (14:01 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Fri, 10 Jul 2015 05:01:59 +0000 (14:01 +0900)
Change-Id: I2c24c1ae1208c6bce5791c04135d4495185b0140

data/data-provider-master.service
packaging/data-provider-master.spec

index f7e791a..50cc58d 100644 (file)
@@ -18,8 +18,6 @@
 Description=Data Provider daemon
 
 [Service]
-User=system
-Group=system
 Environment=BUFMGR_LOCK_TYPE="once"
 Environment=BUFMGR_MAP_CACHE="true"
 EnvironmentFile=/run/tizen-system-env
index 1ffbc4c..7ad8011 100644 (file)
@@ -162,6 +162,7 @@ else
 fi
 
 chown ${APP_UID}:${APP_GID} /opt/usr/share/live_magazine
+
 # System tool(widget-mgr) should be able to access this folder.
 # So give the "rx" permission to the other group. (750 -> 755)
 chmod 755 /opt/usr/share/live_magazine
@@ -171,9 +172,11 @@ chown ${APP_UID}:${APP_GID} /opt/usr/share/live_magazine/reader
 chmod 750 /opt/usr/share/live_magazine/reader
 chown ${APP_UID}:${APP_GID} /opt/usr/share/live_magazine/always
 chmod 750 /opt/usr/share/live_magazine/always
-chown ${SYSTEM}:${APP_GID} /opt/dbspace/.widget.db
+
+# SYSTEM_UID?
+chown ${APP_UID}:${APP_GID} /opt/dbspace/.widget.db
 chmod 640 /opt/dbspace/.widget.db
-chown ${SYSTEM}:${APP_GID} /opt/dbspace/.widget.db-journal
+chown ${APP_UID}:${APP_GID} /opt/dbspace/.widget.db-journal
 chmod 640 /opt/dbspace/.widget.db-journal
 
 vconftool set -t bool "memory/%{name}/started" 0 -i -u ${APP_UID} -f -s system::vconf_system