commit b215e215dc5a57b8519a2015837e1e5101aa0b8b Author: Adam Williamson awilliam@redhat.com Date: Mon May 27 12:08:08 2013 -0700
live-desktop.ks: restore homedir permissions same way the other spins do it
fedora-live-desktop.ks | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) --- diff --git a/fedora-live-desktop.ks b/fedora-live-desktop.ks index b582183..6bfd535 100644 --- a/fedora-live-desktop.ks +++ b/fedora-live-desktop.ks @@ -37,7 +37,6 @@ FOE # don't run gnome-initial-setup mkdir ~liveuser/.config touch ~liveuser/.config/gnome-initial-setup-done -chown -R liveuser:liveuser ~liveuser/.config
# make the installer show up if [ -f /usr/share/applications/liveinst.desktop ]; then @@ -56,7 +55,6 @@ FOE mkdir -p ~liveuser/.config/autostart cp /usr/share/anaconda/gnome/fedora-welcome.desktop /usr/share/applications/ cp /usr/share/anaconda/gnome/fedora-welcome.desktop ~liveuser/.config/autostart/ - chown -R liveuser:liveuser /home/liveuser/.config/ fi fi
@@ -75,6 +73,10 @@ if [ -f /etc/PackageKit/CommandNotFound.conf ]; then sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf fi
+# make sure to set the right permissions and selinux contexts +chown -R liveuser:liveuser /home/liveuser/ +restorecon -R /home/liveuser/ + EOF
%end