From 82901223915f20caa3564b778d3e865ddc2336c1 Mon Sep 17 00:00:00 2001 From: jusung son Date: Mon, 18 Sep 2017 18:44:45 +0900 Subject: [PATCH] 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 --- scripts/299.buxton2_upgrade.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.7.4