mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Squid: Prevent binaries within /var/ipfire/updatexlrator/bin/ from being owned 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
ef929318f6
commit
859100c5c0
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user