summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikko Ylinen <mikko.ylinen@intel.com>2014-11-24 14:00:46 +0200
committerMikko Ylinen <mikko.ylinen@intel.com>2014-11-24 14:00:46 +0200
commited435091cac105cd678d6223b2bb316bad527d50 (patch)
treebc99584c80a6d1aca47da8f0c301c702a7e95884
parentca4ab014da6920b269d1792f8fdb84cc57885f2b (diff)
downloadnotification-ed435091cac105cd678d6223b2bb316bad527d50.tar.gz
notification-ed435091cac105cd678d6223b2bb316bad527d50.tar.bz2
notification-ed435091cac105cd678d6223b2bb316bad527d50.zip
Notification CAPI users must be able to read and write notifications. All notifications are stored in a database that must be accessible by the API users. Adjust the database SMACK label to allow that. Change-Id: Ia5de6de2753a44b9399c62c239a9cbcbb7eabebe Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
-rw-r--r--notification_DB_init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/notification_DB_init.sh b/notification_DB_init.sh
index d815f61..b2dbfca 100644
--- a/notification_DB_init.sh
+++ b/notification_DB_init.sh
@@ -95,6 +95,6 @@ chown :$TZ_SYS_USER_GROUP $TZ_SYS_DB/.notification.db
chown :$TZ_SYS_USER_GROUP $TZ_SYS_DB/.notification.db-journal
chmod 640 $TZ_SYS_DB/.notification.db
chmod 640 $TZ_SYS_DB/.notification.db-journal
-chsmack -a 'notification::db' $TZ_SYS_DB/.notification.db*
+chsmack -a 'User' $TZ_SYS_DB/.notification.db*
SMACK_OPTION="-s system::vconf_misc"
vconftool set -t string memory/private/libstatus/message "" -i -g $users_gid -f $SMACK_OPTION