diff options
author | Youmin Ha <youmin.ha@samsung.com> | 2015-10-21 15:04:01 +0900 |
---|---|---|
committer | Youmin Ha <youmin.ha@samsung.com> | 2015-10-21 15:07:02 +0900 |
commit | dfd21265704d9b67ccc7348b787a2710d3c318ce (patch) | |
tree | 7c494592202c7b2d483403c2b3c9c62059d594d9 /packaging | |
parent | 80c37ab435aec93fa1651cbe02ad06a8eb43c3ce (diff) | |
download | shortcut-dfd21265704d9b67ccc7348b787a2710d3c318ce.tar.gz shortcut-dfd21265704d9b67ccc7348b787a2710d3c318ce.tar.bz2 shortcut-dfd21265704d9b67ccc7348b787a2710d3c318ce.zip |
Add proper smack label to shortcut_service.dbsubmit/tizen/20151021.062249accepted/tizen/wearable/20151021.085520accepted/tizen/tv/20151021.085514accepted/tizen/mobile/20151021.085502
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-x | packaging/libshortcut.spec | 2 |
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 |