mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
SquidGuard: Prevent binaries within /var/ipfire/urlfilter/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
6769d90930
commit
e47f7a600e
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
|
||||
# Copyright (C) 2007-2021 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
@@ -113,6 +113,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
/usr/bin/perl $(DIR_CONF)/urlfilter/makeconf.pl
|
||||
touch /var/ipfire/urlfilter/settings
|
||||
chown -R nobody:nobody /var/ipfire/urlfilter
|
||||
chown -R root:root /var/ipfire/urlfilter/bin
|
||||
chmod 755 /srv/web/ipfire/html/images/urlfilter
|
||||
chmod 644 /srv/web/ipfire/html/images/urlfilter/*
|
||||
chown -R nobody:nobody /var/urlrepo
|
||||
|
||||
Reference in New Issue
Block a user