From 772896795c3799b4595eb6abbc0355184edc91ff Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 5 Jan 2016 23:02:47 +0100 Subject: fix ownership of dirs created by preperation script diff --git a/debian/changelog b/debian/changelog index 0cf7cdb..582e5b3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +rhimportd (0.1.1-2) UNRELEASED; urgency=medium + + * fixed ownership of created dirs at preperation script + + -- Christian Pointner Tue, 05 Jan 2016 23:01:41 +0100 + rhimportd (0.1.1-1) unstable; urgency=medium * new upstream release. diff --git a/debian/rhimportd.pre b/debian/rhimportd.pre index 8610c85..a97f474 100644 --- a/debian/rhimportd.pre +++ b/debian/rhimportd.pre @@ -6,14 +6,17 @@ if [ -n "$RHIMPORTD_TEMP_DIR" ]; then mkdir -m 775 -p "$RHIMPORTD_TEMP_DIR" + chown rhimportd:rhimportd "$RHIMPORTD_TEMP_DIR" fi if [ -n "$RHIMPORTD_LOCAL_FETCH_DIR" ]; then mkdir -m 775 -p "$RHIMPORTD_LOCAL_FETCH_DIR" + chown rhimportd:rhimportd "$RHIMPORTD_LOCAL_FETCH_DIR" fi if [ -n "$RHIMPORTD_WATCH_DIR" ]; then mkdir -m 775 -p "$RHIMPORTD_WATCH_DIR" + chown rhimportd:rhimportd "$RHIMPORTD_WATCH_DIR" fi exit 0 -- cgit v0.10.2