summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorYoumin Ha <youmin.ha@samsung.com>2015-10-21 15:04:01 +0900
committerYoumin Ha <youmin.ha@samsung.com>2015-10-21 15:07:02 +0900
commitdfd21265704d9b67ccc7348b787a2710d3c318ce (patch)
tree7c494592202c7b2d483403c2b3c9c62059d594d9 /packaging
parent80c37ab435aec93fa1651cbe02ad06a8eb43c3ce (diff)
downloadshortcut-dfd21265704d9b67ccc7348b787a2710d3c318ce.tar.gz
shortcut-dfd21265704d9b67ccc7348b787a2710d3c318ce.tar.bz2
shortcut-dfd21265704d9b67ccc7348b787a2710d3c318ce.zip
The shortcut_service.db must be writable by app-installer, but it has _ smack label. This commit changes the smack label to User::Home. Change-Id: I236b327ca7d9a00914d5404785c94784c0b87edb Signed-off-by: Youmin Ha <youmin.ha@samsung.com>
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/libshortcut.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/libshortcut.spec b/packaging/libshortcut.spec
index ff00ce1..11ff7fa 100755
--- a/packaging/libshortcut.spec
+++ b/packaging/libshortcut.spec
@@ -89,6 +89,8 @@ fi
chmod 664 /usr/dbspace/.shortcut_service.db
chmod 664 /usr/dbspace/.shortcut_service.db-journal
+chsmack -a User::Home /usr/dbspace/.shortcut_service.db
+chsmack -a User::Home /usr/dbspace/.shortcut_service.db-journal
%postun -n %{name} -p /sbin/ldconfig