Ensure prosody permissions
This commit is contained in:
parent
274097865f
commit
3806f4e4e9
|
@ -515,6 +515,9 @@ function lockdown_permissions {
|
||||||
if [ ! -d /var/lib/saned ]; then
|
if [ ! -d /var/lib/saned ]; then
|
||||||
mkdir /var/lib/saned
|
mkdir /var/lib/saned
|
||||||
fi
|
fi
|
||||||
|
if [ ! -d /etc/prosody ]; then
|
||||||
|
chown -R prosody /etc/prosody
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function disable_core_dumps {
|
function disable_core_dumps {
|
||||||
|
|
Loading…
Reference in New Issue