From 2082157964410e4f247b838015738350b9550558 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Thu, 8 Jan 2015 11:52:42 +0200 Subject: enforce permissions on /home/live --- files/draklive-install.d/run.d/generate-gtk-icon-cache.sh | 3 --- files/draklive-install.d/run.d/home-live-permissions.sh | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100755 files/draklive-install.d/run.d/home-live-permissions.sh (limited to 'files') 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 -- cgit v1.2.1