From 3469a57e154bfc488d95a022641935d90f368ece Mon Sep 17 00:00:00 2001
From: jean-michel <jean-michel@obarun.org>
Date: Sun, 5 May 2019 01:35:03 +0200
Subject: [PATCH] no comment ...

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

diff --git a/plasma/customizeChroot b/plasma/customizeChroot
index db0f9c4..bcc5a6b 100755
--- a/plasma/customizeChroot
+++ b/plasma/customizeChroot
@@ -53,6 +53,9 @@ custo_once create_log_user
 
 config_66(){
 
+    # creation of the live/ to avoid crash
+    mkdir -p -m1777 /run/66
+
     out_action "Create and enable tree [system]"
     66-tree -v3 -nE system
 
@@ -64,6 +67,9 @@ config_66(){
 
     out_action "Enable dbus,networkmanager,wpa_supplicant services,sddm on tree [desktop]"
     66-enable -v3 -t desktop dbus networkmanager wpa_supplicant sddm
+    
+    # avoid permissions access issue
+    chown -R ${NEWUSER}:users /run/66
 
     out_action "Create tree graphics for ${NEWUSER}, enables and makes it current"
     su "${NEWUSER}" -c "66-tree -v3 -Ecn graphics"
@@ -71,6 +77,8 @@ config_66(){
     out_action "Enable dbus-user and xdg-user-dirs on tree [gui]"
     su "${NEWUSER}" -c "66-enable -v3 -t gui dbus-user xdg-user-dirs"
 
+    rm -rf /run/66
+
 }
 custo_once config_66
 
-- 
GitLab