From: Peter Müller Date: Mon, 17 May 2021 19:05:07 +0000 (+0200) Subject: Squid: Prevent binaries within /var/ipfire/updatexlrator/bin/ from being owned by... X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=859100c5c0708ff9aed1da2802afb18540482a65;p=people%2Fms%2Fipfire-2.x.git Squid: Prevent binaries within /var/ipfire/updatexlrator/bin/ from being owned by nobody Signed-off-by: Peter Müller Signed-off-by: Michael Tremer --- diff --git a/lfs/squid b/lfs/squid index 33cb95ba16..18cb30ef78 100644 --- a/lfs/squid +++ b/lfs/squid @@ -171,6 +171,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) ln -fs /bin/false /var/ipfire/updatexlrator/autocheck/cron.weekly chown -R nobody:nobody /var/ipfire/updatexlrator + chown -R root:root /var/ipfire/updatexlrator/bin chown nobody.squid /var/updatecache chown nobody.squid /var/updatecache/download chown nobody.squid /var/updatecache/metadata @@ -186,7 +187,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) chown nobody.nobody /srv/web/ipfire/html/proxy.pac ln -sf /srv/web/ipfire/html/proxy.pac /srv/web/ipfire/html/wpad.dat - #Copy stylesheets for the errorpages + # Copy stylesheets for the errorpages cp -f $(DIR_SRC)/config/proxy/errorpage-ipfire.css /var/ipfire/proxy/ cp -f /etc/squid/errorpage.css /var/ipfire/proxy/errorpage-squid.css