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

This commit is contained in:
Christoph Wickert 2013-01-09 00:15:13 +01:00
parent 81d56bc043
commit 2f7d13c09e

View File

@ -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