From 2f7d13c09e648d97e7673b74399705602cdc7eb7 Mon Sep 17 00:00:00 2001 From: Christoph Wickert Date: Wed, 9 Jan 2013 00:15:13 +0100 Subject: [PATCH] Xfce: Mark liveinst.desktop as executable to aviod Xfce security warning --- fedora-livecd-xfce.ks | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fedora-livecd-xfce.ks b/fedora-livecd-xfce.ks index 5348497..59f7fa3 100644 --- a/fedora-livecd-xfce.ks +++ b/fedora-livecd-xfce.ks @@ -91,6 +91,9 @@ sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.d mkdir /home/liveuser/Desktop cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop +# and mark it as executable (new Xfce security feature) +chmod +x /home/liveuser/Desktop/liveinst.desktop + # this goes at the end after all other changes. chown -R liveuser:liveuser /home/liveuser restorecon -R /home/liveuser