aboutsummaryrefslogtreecommitdiff
path: root/kvmx-create
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2023-06-30 22:46:56 -0300
committerSilvio Rhatto <rhatto@riseup.net>2023-06-30 22:46:56 -0300
commit3f145976890e18b67019de57426a70d50887f0f2 (patch)
tree4512e0ce9414da166d2f204f26657736983f65d7 /kvmx-create
parent71b88423a22f3e12ca9d13ac1c9eb552d7a6521c (diff)
downloadkvmx-3f145976890e18b67019de57426a70d50887f0f2.tar.gz
kvmx-3f145976890e18b67019de57426a70d50887f0f2.tar.bz2
Fix: use ':' as the chown delimiter
Diffstat (limited to 'kvmx-create')
-rwxr-xr-xkvmx-create4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmx-create b/kvmx-create
index 395e120..1f7a920 100755
--- a/kvmx-create
+++ b/kvmx-create
@@ -368,7 +368,7 @@ EOF
# Fix permissions
if [ "`whoami`" != "root" ]; then
- kvmx_sudo_run chown -R `whoami`. `dirname $image`
+ kvmx_sudo_run chown -R `whoami`: `dirname $image`
fi
}
@@ -529,7 +529,7 @@ EOF
fi
#fi
- kvmx_sudo_run chroot $WORK/ chown -R $user.$user /home/$user
+ kvmx_sudo_run chroot $WORK/ chown -R $user:$user /home/$user
echo "$user:$password" | kvmx_sudo_run chroot $WORK/ chpasswd
# Restore /etc/resolv.conf