From: Sung-jae Park Date: Fri, 10 Jul 2015 05:01:59 +0000 (+0900) Subject: Update service file and spec file X-Git-Tag: submit/tizen/20150710.050854^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F48%2F43548%2F1;p=platform%2Fcore%2Fappfw%2Fdata-provider-master.git Update service file and spec file Change-Id: I2c24c1ae1208c6bce5791c04135d4495185b0140 --- diff --git a/data/data-provider-master.service b/data/data-provider-master.service index f7e791a..50cc58d 100644 --- a/data/data-provider-master.service +++ b/data/data-provider-master.service @@ -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 diff --git a/packaging/data-provider-master.spec b/packaging/data-provider-master.spec index 1ffbc4c..7ad8011 100644 --- a/packaging/data-provider-master.spec +++ b/packaging/data-provider-master.spec @@ -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