summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-01-08 11:59:38 +0200
committerThomas Backlund <tmb@mageia.org>2015-01-08 11:59:38 +0200
commitee2522bd51408be245c5fce3d339a7c3f229da01 (patch)
tree9acbd3f6f5fa42f2b97c83707e7773df10be331b /files
parent2082157964410e4f247b838015738350b9550558 (diff)
downloaddraklive-config-ee2522bd51408be245c5fce3d339a7c3f229da01.tar
draklive-config-ee2522bd51408be245c5fce3d339a7c3f229da01.tar.gz
draklive-config-ee2522bd51408be245c5fce3d339a7c3f229da01.tar.bz2
draklive-config-ee2522bd51408be245c5fce3d339a7c3f229da01.tar.xz
draklive-config-ee2522bd51408be245c5fce3d339a7c3f229da01.zip
enforce /var/lib/gdm ownership
Diffstat (limited to 'files')
-rwxr-xr-xfiles/draklive-install.d/run.d/gdm-permissions.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/files/draklive-install.d/run.d/gdm-permissions.sh b/files/draklive-install.d/run.d/gdm-permissions.sh
new file mode 100755
index 0000000..b549986
--- /dev/null
+++ b/files/draklive-install.d/run.d/gdm-permissions.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ -d "/var/lib/gdm" ]; then
+ chown -R gdm:gdm /var/lib/gdm
+fi