From 1b7f0a7fe86ba8c3d741d085791255432a1ad03d Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 15 Mar 2016 02:48:49 +0100 Subject: fix permissions for watch and local dir diff --git a/debian/rhimportd.pre b/debian/rhimportd.pre index a97f474..e93e299 100644 --- a/debian/rhimportd.pre +++ b/debian/rhimportd.pre @@ -10,12 +10,12 @@ if [ -n "$RHIMPORTD_TEMP_DIR" ]; then fi if [ -n "$RHIMPORTD_LOCAL_FETCH_DIR" ]; then - mkdir -m 775 -p "$RHIMPORTD_LOCAL_FETCH_DIR" + mkdir -m 2775 -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" + mkdir -m 2775 -p "$RHIMPORTD_WATCH_DIR" chown rhimportd:rhimportd "$RHIMPORTD_WATCH_DIR" fi -- cgit v0.10.2