summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2016-12-06 22:42:32 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2016-12-06 22:42:32 +0000
commit0d06cbfeb6b069e58eeaab93ce56ffe4659d2812 (patch)
treeae1bfd6ca8ac712ad011da3a3e4282e4fe884284
parent9d2940006ca7913c913814cd3c5984786c17d2a1 (diff)
downloaddraklive-config-0d06cbfeb6b069e58eeaab93ce56ffe4659d2812.tar
draklive-config-0d06cbfeb6b069e58eeaab93ce56ffe4659d2812.tar.gz
draklive-config-0d06cbfeb6b069e58eeaab93ce56ffe4659d2812.tar.bz2
draklive-config-0d06cbfeb6b069e58eeaab93ce56ffe4659d2812.tar.xz
draklive-config-0d06cbfeb6b069e58eeaab93ce56ffe4659d2812.zip
live.cfg: fix the permissions on /var/lib/gdm
This allows GDM to restart if the user logs out.
-rw-r--r--config/live.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/live.cfg b/config/live.cfg
index 0bff65d..fb705c4 100644
--- a/config/live.cfg
+++ b/config/live.cfg
@@ -198,6 +198,8 @@ my $_l = {
if_($live->{settings}{desktop} eq 'GNOME',
# compile schema to get draklive-install in menu
"glib-compile-schemas /usr/share/glib-2.0/schemas/",
+ # fix permissions to enable GDM to rerun if the user logs out
+ "chown -R gdm:gdm /var/lib/gdm",
),
# switch to NetworkManager