summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-im/jabberd/pkg-install2
-rw-r--r--net/jabberd/pkg-install2
2 files changed, 2 insertions, 2 deletions
diff --git a/net-im/jabberd/pkg-install b/net-im/jabberd/pkg-install
index e45dcc1b3e2c..e5031c96599b 100644
--- a/net-im/jabberd/pkg-install
+++ b/net-im/jabberd/pkg-install
@@ -32,7 +32,7 @@ if ! pw usershow "${USER}" 2>/dev/null 1>&2; then
fi
fi
-mkdir -p /var/jabberd/db /var/jabberd/pid /var/jabberd/log
+mkdir -m 750 /var/jabberd /var/jabberd/db /var/jabberd/pid /var/jabberd/log
chown jabber:jabber /var/jabberd /var/jabberd/db /var/jabberd/pid /var/jabberd/log
exit 0
diff --git a/net/jabberd/pkg-install b/net/jabberd/pkg-install
index e45dcc1b3e2c..e5031c96599b 100644
--- a/net/jabberd/pkg-install
+++ b/net/jabberd/pkg-install
@@ -32,7 +32,7 @@ if ! pw usershow "${USER}" 2>/dev/null 1>&2; then
fi
fi
-mkdir -p /var/jabberd/db /var/jabberd/pid /var/jabberd/log
+mkdir -m 750 /var/jabberd /var/jabberd/db /var/jabberd/pid /var/jabberd/log
chown jabber:jabber /var/jabberd /var/jabberd/db /var/jabberd/pid /var/jabberd/log
exit 0