summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/rhimportd.pre4
1 files changed, 2 insertions, 2 deletions
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