diff options
author | Thomas Backlund <tmb@mageia.org> | 2015-01-08 11:52:42 +0200 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2015-01-08 11:52:42 +0200 |
commit | 2082157964410e4f247b838015738350b9550558 (patch) | |
tree | 9a461345fb2fa2cb72870f6ce0a66369447dd4d1 /files/draklive-install.d | |
parent | 9d7dd9f94530cd5160ebb202206e937059a59221 (diff) | |
download | draklive-config-2082157964410e4f247b838015738350b9550558.tar draklive-config-2082157964410e4f247b838015738350b9550558.tar.gz draklive-config-2082157964410e4f247b838015738350b9550558.tar.bz2 draklive-config-2082157964410e4f247b838015738350b9550558.tar.xz draklive-config-2082157964410e4f247b838015738350b9550558.zip |
enforce permissions on /home/live
Diffstat (limited to 'files/draklive-install.d')
-rwxr-xr-x | files/draklive-install.d/run.d/generate-gtk-icon-cache.sh | 3 | ||||
-rwxr-xr-x | files/draklive-install.d/run.d/home-live-permissions.sh | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/files/draklive-install.d/run.d/generate-gtk-icon-cache.sh b/files/draklive-install.d/run.d/generate-gtk-icon-cache.sh index cd65647..e920320 100755 --- a/files/draklive-install.d/run.d/generate-gtk-icon-cache.sh +++ b/files/draklive-install.d/run.d/generate-gtk-icon-cache.sh @@ -5,6 +5,3 @@ for icondir in /usr/share/icons/*; do /usr/bin/gtk-update-icon-cache --force --quiet "$icondir"; fi done -if [ -d "/home/live" ]; then - chown -R live:live /home/live -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 new file mode 100755 index 0000000..a4d5141 --- /dev/null +++ b/files/draklive-install.d/run.d/home-live-permissions.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +if [ -d "/home/live" ]; then + chown -R live:live /home/live +fi |