From 6d2d403b2bdf46f07c3524f6f81cabb21163b9eb Mon Sep 17 00:00:00 2001 From: root Date: Sun, 12 May 2019 11:59:30 -0500 Subject: [PATCH] updated web permissions --- xlxd-debian-installer.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/xlxd-debian-installer.sh b/xlxd-debian-installer.sh index c0a31c8..6fe90e5 100755 --- a/xlxd-debian-installer.sh +++ b/xlxd-debian-installer.sh @@ -97,6 +97,7 @@ echo "Copying directives and reloading apache... " cp $DIRDIR/templates/apache.tbd.conf /etc/apache2/sites-available/$XLXDOMAIN.conf sed -i "s/apache.tbd/$XLXDOMAIN/g" /etc/apache2/sites-available/$XLXDOMAIN.conf sed -i "s/ysf-xlxd/xlxd/g" /etc/apache2/sites-available/$XLXDOMAIN.conf +chown -R www-data: /var/www/xlxd/ a2ensite $XLXDOMAIN service xlxd start systemctl restart apache2