Set the DB owner in buxton2_upgrade.sh 10/150710/2
authorjusung son <jusung07.son@samsung.com>
Mon, 18 Sep 2017 09:44:45 +0000 (18:44 +0900)
committerjusung son <jusung07.son@samsung.com>
Mon, 18 Sep 2017 10:01:59 +0000 (19:01 +0900)
 - The UID of buxton has changed from 4.0

Change-Id: I0f7bf6fd184f434b871996edc34e048b15eabcc8
Signed-off-by: jusung son <jusung07.son@samsung.com>
scripts/299.buxton2_upgrade.sh

index 104979e..c17bec2 100755 (executable)
@@ -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