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:29 (GMT)
commitfec09c702f8bb5587a8bf3d26ad01a0d1c053fb3 (patch)
tree86e40d39ed490e376870983a4948e0edde86450f
parent08b8cf9cc02ac9d4ac1eaeb99215555c68663b19 (diff)
downloadspin-kickstarts-fec09c7.zip
spin-kickstarts-fec09c7.tar.gz
spin-kickstarts-fec09c7.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 bd9b4be..de60113 100644
--- a/fedora-livecd-xfce.ks
+++ b/fedora-livecd-xfce.ks
@@ -95,6 +95,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