From: Michael Tremer Date: Sat, 12 Oct 2013 18:51:08 +0000 (+0200) Subject: Fix permissions of redirect-template directories. X-Git-Tag: v2.13-core74~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e77821da801d9714230c649c3748b19b697817d;p=ipfire-2.x.git Fix permissions of redirect-template directories. --- diff --git a/lfs/apache2 b/lfs/apache2 index c3d9156029..f50332be97 100644 --- a/lfs/apache2 +++ b/lfs/apache2 @@ -98,6 +98,9 @@ ifeq "$(PASS)" "C" chmod -R 755 /srv/web/ipfire/cgi-bin chmod -R 644 /srv/web/ipfire/html chmod 755 /srv/web/ipfire/html /srv/web/ipfire/html/{index.cgi,redirect.cgi,dial.cgi,images,include,themes,themes/*,themes/*/*} + + # Reset permissions of redirect templates directories + find /srv/web/ipfire/html/redirect-templates -type d | xargs chmod -v 755 else @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && patch -Np1 -i $(DIR_DL)/httpd-2.2.2-config-1.patch