]> git.ipfire.org Git - people/dweismueller/ipfire-2.x.git/commitdiff
captive: Only make CGI script executable in document root
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 4 Sep 2016 08:31:46 +0000 (09:31 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 14 Dec 2016 13:04:33 +0000 (14:04 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/web-user-interface

index c1f2819dd26e6eccc29b37f0a012dfb7e6843ab3..345d215cdb15b082056905bcd1f5c5b5f6c2dba7 100644 (file)
@@ -64,7 +64,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        chown -R root:root /srv/web/ipfire
        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/*/*,captive/*,captive/*/*}
+       chmod 755 /srv/web/ipfire/html /srv/web/ipfire/html/{index.cgi,redirect.cgi,dial.cgi,images,include,themes,themes/*,themes/*/*,captive/index.cgi}
        chmod -R 777 /srv/web/ipfire/html/captive/logo
        ln -svf ipfire /srv/web/ipfire/html/themes/ipfire-rounded