Create directories for jabberd data files with more secure permissions.

This commit is contained in:
Dmitry Sivachenko 2004-01-09 11:30:09 +00:00
parent 7a8f99b4ce
commit b0b051a72f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97765
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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