From: Kyoungyong Lee Date: Wed, 18 May 2016 23:43:15 +0000 (+0900) Subject: change the owner of the privacy-guard db from system to security_fw X-Git-Tag: accepted/tizen/common/20160519.191254^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F18%2F70218%2F1;p=platform%2Fcore%2Fsecurity%2Fprivacy-guard.git change the owner of the privacy-guard db from system to security_fw Change-Id: I96a26dbae6b55b4c802b914bfa20ed3a54b5a41c --- diff --git a/res/usr/bin/privacy_guard_create_clean_db.sh b/res/usr/bin/privacy_guard_create_clean_db.sh index 648e21d..84faa11 100755 --- a/res/usr/bin/privacy_guard_create_clean_db.sh +++ b/res/usr/bin/privacy_guard_create_clean_db.sh @@ -23,8 +23,8 @@ do SQL=".read ${TZ_SYS_BIN}/"$name"_db.sql" sqlite3 ${TZ_SYS_DB}/.$name.db "$SQL" touch ${TZ_SYS_DB}/.$name.db-journal - chown system:system ${TZ_SYS_DB}/.$name.db - chown system:system ${TZ_SYS_DB}/.$name.db-journal + chown security_fw:security_fw ${TZ_SYS_DB}/.$name.db + chown security_fw:security_fw ${TZ_SYS_DB}/.$name.db-journal chmod 666 ${TZ_SYS_DB}/.$name.db chmod 666 ${TZ_SYS_DB}/.$name.db-journal done