From 3f145976890e18b67019de57426a70d50887f0f2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 30 Jun 2023 22:46:56 -0300 Subject: Fix: use ':' as the chown delimiter --- kvmx-create | 4 ++-- 1 file 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 -- cgit v1.2.3