From e0242b36179ebe72b47b941f3ba3355d52cf7f15 Mon Sep 17 00:00:00 2001
From: jean-michel <jean-michel@obarun.org>
Date: Sat, 6 Apr 2019 03:31:59 +0200
Subject: [PATCH] chmod 750 on scandir

---
 plasma/customizeChroot | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plasma/customizeChroot b/plasma/customizeChroot
index 57747bd..e8b3fd0 100755
--- a/plasma/customizeChroot
+++ b/plasma/customizeChroot
@@ -92,6 +92,7 @@ umask 022
 
 66-scandir -v3 -cu
 EOF"
+    su "${NEWUSER}" -c "chmod 750 /home/${NEWUSER}/.scandir
     
     out_action "Create ${NEWUSER} .xsession file"
     su "${NEWUSER}" -c "cat > /home/${NEWUSER}/.xsession <<EOF
-- 
GitLab