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>
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