#!/bin/sh
#
# Ejabberd mod_muc_log use umask 027 unusable served by apache2

set -e

muc_dir=/var/www/vhosts/www-ejabberd/conference/

[ ! -d "$muc_dir" ] || chmod -R +rX "$muc_dir"