From 5347f984af72203227ee9c38e8162b1fbcfd5667 Mon Sep 17 00:00:00 2001 From: Xavier Petit Date: Tue, 30 Apr 2019 13:35:06 +0100 Subject: [PATCH] Fix home folder rights --- scripts/system/etc/gdm3/PostLogin/Default | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/system/etc/gdm3/PostLogin/Default b/scripts/system/etc/gdm3/PostLogin/Default index e39c99500..d0fa55e0d 100755 --- a/scripts/system/etc/gdm3/PostLogin/Default +++ b/scripts/system/etc/gdm3/PostLogin/Default @@ -70,4 +70,5 @@ USER_PATH=/mnt/.01/$USER TEMP_PATH=/mnt/.01/tmp mkdir -p $USER_PATH $TEMP_PATH +chown -R $USER:$USER $USER_PATH $TEMP_PATH mount -t overlay -o lowerdir=$HOME,upperdir=$USER_PATH,workdir=$TEMP_PATH overlay $HOME