From: jusung son Date: Mon, 18 Sep 2017 09:44:45 +0000 (+0900) Subject: Set the DB owner in buxton2_upgrade.sh X-Git-Tag: submit/tizen/20170918.101837~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F10%2F150710%2F2;p=platform%2Fcore%2Fsystem%2Fbuxton2.git Set the DB owner in buxton2_upgrade.sh - The UID of buxton has changed from 4.0 Change-Id: I0f7bf6fd184f434b871996edc34e048b15eabcc8 Signed-off-by: jusung son --- diff --git a/scripts/299.buxton2_upgrade.sh b/scripts/299.buxton2_upgrade.sh index 104979e..c17bec2 100755 --- a/scripts/299.buxton2_upgrade.sh +++ b/scripts/299.buxton2_upgrade.sh @@ -3,6 +3,11 @@ # buxton upgrade initialize script (3.0 -> 4.0) # +DB_DIR=/var/lib/buxton2 + +# The UID of buxton has changed +chown -R buxton $DB_DIR + buxton2ctl security-disable buxton2ctl remove-garbage-data system