Ensure prosody permissions

This commit is contained in:
Bob Mottram 2016-12-03 12:37:07 +00:00
parent 274097865f
commit 3806f4e4e9
1 changed files with 3 additions and 0 deletions

View File

@ -515,6 +515,9 @@ function lockdown_permissions {
if [ ! -d /var/lib/saned ]; then
mkdir /var/lib/saned
fi
if [ ! -d /etc/prosody ]; then
chown -R prosody /etc/prosody
fi
}
function disable_core_dumps {