From dfd21265704d9b67ccc7348b787a2710d3c318ce Mon Sep 17 00:00:00 2001 From: Youmin Ha Date: Wed, 21 Oct 2015 15:04:01 +0900 Subject: Add proper smack label to shortcut_service.db 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 --- packaging/libshortcut.spec | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packaging') 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 -- cgit v1.2.3