diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2023-06-30 22:46:56 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2023-06-30 22:46:56 -0300 |
commit | 3f145976890e18b67019de57426a70d50887f0f2 (patch) | |
tree | 4512e0ce9414da166d2f204f26657736983f65d7 | |
parent | 71b88423a22f3e12ca9d13ac1c9eb552d7a6521c (diff) | |
download | kvmx-3f145976890e18b67019de57426a70d50887f0f2.tar.gz kvmx-3f145976890e18b67019de57426a70d50887f0f2.tar.bz2 |
Fix: use ':' as the chown delimiter
-rwxr-xr-x | kvmx-create | 4 |
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 |