From: Baptiste DURAND Date: Tue, 30 Sep 2014 14:41:43 +0000 (+0200) Subject: Fix owner for /usr/share/icon/* directory X-Git-Tag: accepted/tizen/common/20141002.143934~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b2d6e60627475101797500fbe8308556d359f49a;p=platform%2Fcore%2Fappfw%2Fail.git Fix owner for /usr/share/icon/* directory to allow installation for all users Signed-off-by: Baptiste DURAND Change-Id: I50ae92537290d193349a1583913df5bf25a88f0c --- diff --git a/packaging/ail.spec b/packaging/ail.spec index c20ebfd..f5a2029 100755 --- a/packaging/ail.spec +++ b/packaging/ail.spec @@ -75,11 +75,15 @@ mkdir -p %{TZ_SYS_RO_DESKTOP_APP} mkdir -p %{TZ_SYS_RW_DESKTOP_APP} mkdir -p %{TZ_SYS_RW_APP} mkdir -p %{TZ_SYS_DB} +mkdir -p %{TZ_SYS_RW_ICONS}/default/small chsmack -a '*' %{TZ_SYS_DB} chsmack -a '*' %{TZ_SYS_RW_APP} chsmack -a '*' %{TZ_SYS_RW_DESKTOP_APP} chsmack -a '*' %{TZ_SYS_RO_DESKTOP_APP} +chsmack -a '*' %{TZ_SYS_RW_ICONS} +chsmack -a '*' %{TZ_SYS_RW_ICONS}/default +chsmack -a '*' %{TZ_SYS_RW_ICONS}/default/small/ chmod g+w %{TZ_SYS_RW_DESKTOP_APP} chmod g+w %{TZ_SYS_RO_DESKTOP_APP} @@ -87,6 +91,8 @@ chown %TZ_SYS_GLOBALAPP_USER:root %{TZ_SYS_RW_DESKTOP_APP} chown %TZ_SYS_GLOBALAPP_USER:root %{TZ_SYS_RO_DESKTOP_APP} chown %TZ_SYS_GLOBALAPP_USER:root %{TZ_SYS_RW_APP} chown %TZ_SYS_GLOBALAPP_USER:root %{TZ_SYS_DB} +chown %TZ_SYS_GLOBALAPP_USER:root %{TZ_SYS_DB} +chown %TZ_SYS_GLOBALAPP_USER:root -R %{TZ_SYS_RW_ICONS} ail_initdb 2>/dev/null chsmack -a '*' %{TZ_SYS_DB}/.app_info.db*