]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Squid: cachemgr.cgi does not have to be owned (hence writeable) by nobody
authorPeter Müller <peter.mueller@ipfire.org>
Mon, 17 May 2021 19:07:32 +0000 (21:07 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 17 May 2021 20:49:11 +0000 (20:49 +0000)
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/squid

index 18cb30ef7892fa8617210b842dc59924e268b275..38675f3f3e354fba4010006e72e1d4ce5f861f23 100644 (file)
--- a/lfs/squid
+++ b/lfs/squid
@@ -149,7 +149,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        chown -R squid:squid /var/log/squid /var/log/cache /var/log/updatexlrator
 
        cp /usr/lib/squid/cachemgr.cgi /srv/web/ipfire/cgi-bin/cachemgr.cgi
-       chown nobody.nobody /srv/web/ipfire/cgi-bin/cachemgr.cgi
+       chown root:root /srv/web/ipfire/cgi-bin/cachemgr.cgi
 
        cp -f $(DIR_SRC)/config/updxlrator/updxlrator /usr/sbin/updxlrator
        cp -f $(DIR_SRC)/config/updxlrator/checkup /var/ipfire/updatexlrator/bin/checkup