- Because amd moves to system session, amd can't access to appsvc db.
Change gruop of appsvc db to system_share.
Change-Id: I656751a7f254445e4db06f8d1ebed68d67f57239
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
chmod 664 /opt/dbspace/user/$2/.appsvc.db
chmod 664 /opt/dbspace/user/$2/.appsvc.db-journal
-chown $TZ_USER_NAME:users /opt/dbspace/user/$2/.appsvc.db
-chown $TZ_USER_NAME:users /opt/dbspace/user/$2/.appsvc.db-journal
+chown $TZ_USER_NAME:system_share /opt/dbspace/user/$2/.appsvc.db
+chown $TZ_USER_NAME:system_share /opt/dbspace/user/$2/.appsvc.db-journal
chsmack -a User::Home /opt/dbspace/user/$2/.appsvc.db
chsmack -a User::Home /opt/dbspace/user/$2/.appsvc.db-journal