[Fedora-spins] [spin-kickstarts] Xfce: Mark liveinst.desktop as executable to aviod Xfce security warning

Christoph Wickert cwickert at fedoraproject.org
Tue Jan 8 23:16:25 UTC 2013


commit 2f7d13c09e648d97e7673b74399705602cdc7eb7
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Wed Jan 9 00:15:13 2013 +0100

    Xfce: Mark liveinst.desktop as executable to aviod Xfce security warning

 fedora-livecd-xfce.ks |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
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


More information about the spins mailing list