From c5ddb22e60a029a3009e262ef18d1ef7b77804c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Mon, 21 Oct 2024 05:44:33 +0200 Subject: [PATCH] debug --- functions.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/functions.sh b/functions.sh index 652d2a8..d9fe1d5 100755 --- a/functions.sh +++ b/functions.sh @@ -1471,7 +1471,14 @@ chuser () { [ $(id -u) -gt 0 ] && return u_id="$(id -u $1)" g_id="$(id -g $1)" + install -o ${u_id} -g ${g_id} -m 0700 /run/user/${u_id} + + cat << EOF + u_id: ${u_id} + g_id: ${g_id} + $(ls /run/user) +EOF cp ${getbashrcfile} /run/user/${u_id}/. cp ${getvimrcfile} /run/user/${u_id}/. }