diff options
author | Eric Hameleers <alien@slackware.com> | 2015-12-16 12:13:23 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2015-12-16 12:13:23 +0100 |
commit | e4ead631392578122de4a403cc1d1b64aa8328d4 (patch) | |
tree | e887b038ed55b177e6206f61d5f840075e3e0d14 | |
parent | 3a581d5650b7d380680b5ee8be6663327bffbc5a (diff) | |
download | liveslak-e4ead631392578122de4a403cc1d1b64aa8328d4.tar.gz liveslak-e4ead631392578122de4a403cc1d1b64aa8328d4.tar.xz |
Set ownership of SDDM homedirectory recursively.
-rwxr-xr-x | make_slackware_live.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh index 9995ad1..0a062f8 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -947,7 +947,6 @@ if [ "$LIVEDE" = "PLASMA5" ]; then rm ${LIVE_ROOTDIR}/usr/share/xsessions/plasma-mediacenter.desktop || true # Set sane SDDM defaults on first boot (root-owned file): mkdir -p ${LIVE_ROOTDIR}/var/lib/sddm - chroot ${LIVE_ROOTDIR} chown sddm:sddm var/lib/sddm cat <<EOT > ${LIVE_ROOTDIR}/var/lib/sddm/state.conf [Last] # Name of the last logged-in user. This username will be preselected/shown when the login screen shows up @@ -957,6 +956,7 @@ User=live Session=/usr/share/xsessions/plasma.desktop EOT + chroot ${LIVE_ROOTDIR} chown -R sddm:sddm var/lib/sddm # Thanks to Fedora Live: https://git.fedorahosted.org/cgit/spin-kickstarts.git mkdir -p ${LIVE_ROOTDIR}/etc/skel/.config/akonadi |