From 961cf68f58188881ff457c9c6ffd9de724bc707b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 23 Nov 2015 21:14:12 +0000 Subject: [PATCH] chown --- src/freedombone-image-customise | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 821859b5..88b4af2f 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -195,7 +195,7 @@ create_generic_image() { # The presence of this file indicates that the initial # setup has not yet been completed touch $rootdir/home/$MY_USERNAME/.initial_setup - chown $MY_USERNAME:$MY_USERNAME $rootdir/home/$MY_USERNAME/.initial_setup + chroot $rootdir chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.initial_setup touch $rootdir/root/.initial_setup cat >> $rootdir/home/$MY_USERNAME/.bashrc <