summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-04-08 21:26:49 +0200
committerThomas Backlund <tmb@mageia.org>2015-04-08 21:26:49 +0200
commit83b02947a25b09640c3cd3275eee817e2cf691af (patch)
treecfd8cddc213d93c07a7922cd15c26743c3b2fc27 /files
parent98d4b16eccd17f420e0d28cba2a53ded26b8329f (diff)
downloaddraklive-config-83b02947a25b09640c3cd3275eee817e2cf691af.tar
draklive-config-83b02947a25b09640c3cd3275eee817e2cf691af.tar.gz
draklive-config-83b02947a25b09640c3cd3275eee817e2cf691af.tar.bz2
draklive-config-83b02947a25b09640c3cd3275eee817e2cf691af.tar.xz
draklive-config-83b02947a25b09640c3cd3275eee817e2cf691af.zip
use full path to chown
Diffstat (limited to 'files')
-rwxr-xr-xfiles/draklive-install.d/run.d/gdm-permissions.sh2
-rwxr-xr-xfiles/draklive-install.d/run.d/home-live-permissions.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/files/draklive-install.d/run.d/gdm-permissions.sh b/files/draklive-install.d/run.d/gdm-permissions.sh
index b549986..62d37d1 100755
--- a/files/draklive-install.d/run.d/gdm-permissions.sh
+++ b/files/draklive-install.d/run.d/gdm-permissions.sh
@@ -1,5 +1,5 @@
#!/bin/sh
if [ -d "/var/lib/gdm" ]; then
- chown -R gdm:gdm /var/lib/gdm
+ /usr/bin/chown -R gdm:gdm /var/lib/gdm
fi
diff --git a/files/draklive-install.d/run.d/home-live-permissions.sh b/files/draklive-install.d/run.d/home-live-permissions.sh
index a4d5141..efc7d05 100755
--- a/files/draklive-install.d/run.d/home-live-permissions.sh
+++ b/files/draklive-install.d/run.d/home-live-permissions.sh
@@ -1,5 +1,5 @@
#!/bin/sh
if [ -d "/home/live" ]; then
- chown -R live:live /home/live
+ /usr/bin/chown -R live:live /home/live
fi