]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
apache2: Fix directory permissions of themes.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 6 Jan 2014 20:53:58 +0000 (21:53 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 6 Jan 2014 20:53:58 +0000 (21:53 +0100)
lfs/apache2

index a3c7ada77d572a6857640db05ec3d2a0950c5550..50c94a638c6752abe0a4a1719b8a1f007bf2f8f3 100644 (file)
@@ -100,8 +100,8 @@ ifeq "$(PASS)" "C"
        chmod 755 /srv/web/ipfire/html /srv/web/ipfire/html/{index.cgi,redirect.cgi,dial.cgi,images,include,themes,themes/*,themes/*/*}
        ln -svf ipfire /srv/web/ipfire/html/themes/ipfire-rounded
 
-       # Reset permissions of redirect templates directories
-       find /srv/web/ipfire/html/redirect-templates -type d | xargs chmod -v 755
+       # Reset permissions of redirect templates and theme directories
+       find /srv/web/ipfire/html/{redirect-templates,themes} -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