aboutsummaryrefslogtreecommitdiffstats
path: root/net/jabberd/pkg-install
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2004-01-09 19:30:09 +0800
committerdemon <demon@FreeBSD.org>2004-01-09 19:30:09 +0800
commitedec3744c67e1bde6eeca6892746bbfd25259717 (patch)
tree5fe7551e7e2973d149545bc3edbcde768ae258b2 /net/jabberd/pkg-install
parenta9aee620401c3e0a47f2030dcdc4cc689d172658 (diff)
downloadfreebsd-ports-graphics-edec3744c67e1bde6eeca6892746bbfd25259717.tar.gz
freebsd-ports-graphics-edec3744c67e1bde6eeca6892746bbfd25259717.tar.zst
freebsd-ports-graphics-edec3744c67e1bde6eeca6892746bbfd25259717.zip
Create directories for jabberd data files with more secure permissions.
Diffstat (limited to 'net/jabberd/pkg-install')
-rw-r--r--net/jabberd/pkg-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/jabberd/pkg-install b/net/jabberd/pkg-install
index e45dcc1b3e2..e5031c96599 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