diff --git a/plasma/customizeChroot b/plasma/customizeChroot index db0f9c41917620fe7ddf70831ba6e2d44dd79738..bcc5a6b10241a8358e69811434cbe51c8b0c7967 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