summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-03-15 01:48:49 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-03-15 01:48:49 (GMT)
commit1b7f0a7fe86ba8c3d741d085791255432a1ad03d (patch)
treed151935a818cf8ecbdc174c3aa2cf78478db43fc
parentd649e3c1a63e33752f7cb0c6b0f6ea579164bfd3 (diff)
fix permissions for watch and local dir
-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