]> git.ipfire.org Git - 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>
Fri, 22 Sep 2017 17:54:45 +0000 (18:54 +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