Change group of appsvc db to system_share 21/107421/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.122144 accepted/tizen/3.0.m2/tv/20170104.122405 accepted/tizen/3.0.m2/wearable/20170104.122750 accepted/tizen/3.0/common/20161229.112703 accepted/tizen/3.0/ivi/20161229.054110 accepted/tizen/3.0/mobile/20161229.054016 accepted/tizen/3.0/tv/20161229.054041 accepted/tizen/3.0/wearable/20161229.054055 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161228.051438
authorJiwoong Im <jiwoong.im@samsung.com>
Wed, 28 Dec 2016 04:25:03 +0000 (13:25 +0900)
committerJiwoong Im <jiwoong.im@samsung.com>
Wed, 28 Dec 2016 04:25:03 +0000 (13:25 +0900)
- 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>
scripts/12_appsvc-add.post

index 56e0d36..353b232 100755 (executable)
@@ -61,8 +61,8 @@ EOF
 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