summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Wickert <cwickert@fedoraproject.org>2013-01-08 23:15:13 (GMT)
committerChristoph Wickert <cwickert@fedoraproject.org>2013-01-08 23:15:13 (GMT)
commit2f7d13c09e648d97e7673b74399705602cdc7eb7 (patch)
treea1dcccfd4e311c50dbc29ee2922ea54cf9c4b010
parent81d56bc043b197ddd5a72d7ea8857200c8dfde78 (diff)
downloadspin-kickstarts-2f7d13c.zip
spin-kickstarts-2f7d13c.tar.gz
spin-kickstarts-2f7d13c.tar.xz
Xfce: Mark liveinst.desktop as executable to aviod Xfce security warning
-rw-r--r--fedora-livecd-xfce.ks3
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