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/home-live-permissions.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 files/draklive-install.d/run.d/home-live-permissions.sh (limited to 'files/draklive-install.d/run.d/home-live-permissions.sh') 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