Include prosody exception in lockdown

This commit is contained in:
Bob Mottram 2018-01-25 11:05:05 +00:00
parent 622b3af99f
commit b0d728107e
1 changed files with 3 additions and 0 deletions

View File

@ -593,6 +593,9 @@ function lockdown_permissions {
if [ -d /usr/lib/node_modules ]; then
chmod -R 750 /usr/lib/node_modules/*
fi
if [ -d /usr/lib/prosody ]; then
chown -R prosody:prosody /usr/lib/prosody
fi
fi
if [ -d /usr/lib64 ]; then
chown -R root:root /usr/lib64/*