From 614a82cc7790325b69db3c299bda35f52d27fc27 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Tue, 14 Nov 2023 00:10:56 -0700 Subject: [PATCH] address security feature of xfce --- Rocky-9-XFCE.ks | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Rocky-9-XFCE.ks b/Rocky-9-XFCE.ks index 6be00ba..644430a 100644 --- a/Rocky-9-XFCE.ks +++ b/Rocky-9-XFCE.ks @@ -407,6 +407,10 @@ chmod +x /home/liveuser/Desktop/liveinst.desktop # move to anaconda - probably not required for XFCE. mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop +cat > ~liveuser/.profile << PROFILE_EOF +export XDG_DATA_DIRS="\\\${XDG_DATA_DIRS}:\\\${HOME}/Desktop" +PROFILE_EOF + # this goes at the end after all other changes. chown -R liveuser:liveuser /home/liveuser restorecon -R /home/liveuser