Name: push
Summary: Push services and client library
-Version: 0.5.86
+Version: 0.5.87
Release: 1
Group: Application Framework/Service
License: Apache-2.0
sqlite3 %{TZ_SYS_GLOBALUSER_DB}/.push.db "PRAGMA journal_mode = PERSIST; create table a(a); drop table a;" > /dev/null
chown service_fw:service_fw %{TZ_SYS_GLOBALUSER_DB}/.push.db
chown service_fw:service_fw %{TZ_SYS_GLOBALUSER_DB}/.push.db-journal
-chmod 644 %{TZ_SYS_GLOBALUSER_DB}/.push.db
-chmod 644 %{TZ_SYS_GLOBALUSER_DB}/.push.db-journal
-
-chsmack -a "*" %{TZ_SYS_GLOBALUSER_DB}/.push.db
-chsmack -a "*" %{TZ_SYS_GLOBALUSER_DB}/.push.db-journal
+chmod 600 %{TZ_SYS_GLOBALUSER_DB}/.push.db
+chmod 600 %{TZ_SYS_GLOBALUSER_DB}/.push.db-journal
+chsmack -a "System" %{TZ_SYS_GLOBALUSER_DB}/.push.db
+chsmack -a "System" %{TZ_SYS_GLOBALUSER_DB}/.push.db-journal
%post -n libpush
/sbin/ldconfig