Create directories for jabberd data files with more secure permissions.
This commit is contained in:
parent
7a8f99b4ce
commit
b0b051a72f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97765
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user