From 0122f47d1f351f9d9d6943041d99ba9280061064 Mon Sep 17 00:00:00 2001 From: Chrysostomus Date: Fri, 3 Mar 2017 23:20:24 +0800 Subject: [PATCH] Fix chowning $HOME for user created before installing desktop-settings --- lib/util-desktop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util-desktop.sh b/lib/util-desktop.sh index 097c222..2f22071 100644 --- a/lib/util-desktop.sh +++ b/lib/util-desktop.sh @@ -149,7 +149,7 @@ install_manjaro_de_wm() { for home in $(echo $MOUNTPOINT/home/*); do cp -ar $MOUNTPOINT/etc/skel/. $home/ user=$(echo $home | cut -d/ -f4) - arch_chroot "chown -R ${user}:${user} $home" + arch_chroot "chown -R ${user}:${user} /home/${user}" done fi # Enable services in the chosen profile