mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Squid: cachemgr.cgi does not have to be owned (hence writeable) by nobody
Signed-off-by: Peter Müller <peter.mueller@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
50ba8b2e80
commit
f2ccb35fa4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user