From 017872be5d07845be77857aad98d66ba906a8e27 Mon Sep 17 00:00:00 2001 From: Naglfar Date: Wed, 15 Jan 2020 19:23:21 +0100 Subject: [PATCH] Set user account owner --- include/functions | 1 + 1 file changed, 1 insertion(+) diff --git a/include/functions b/include/functions index d1308a8..cb0dcf5 100644 --- a/include/functions +++ b/include/functions @@ -40,4 +40,5 @@ add_account_recovery() sudo mkdir --mode=700 /home/$1/.thunix sudo echo echo $2 > /home/$1/.thunix/recovery sudo chmod 600 > /home/$1/.thunix/recovery + chown -R $1 /home/$1/.thunix }