From f79faeab5ada455d1d14c1e351bdc60f2c35ff7a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Mon, 24 Apr 2023 18:56:07 +0000 Subject: [PATCH] Pakfire: Do not make /var/log/pakfire.log writable for "nobody" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Müller --- lfs/pakfire | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/pakfire b/lfs/pakfire index d51cf8b71d..da7a648c81 100644 --- a/lfs/pakfire +++ b/lfs/pakfire @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2018 IPFire Team # +# Copyright (C) 2007-2023 IPFire Team # # # # 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 # @@ -60,7 +60,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) chmod 755 $(DIR_APP)/pakfire touch /var/log/pakfire.log chown root.nobody /var/log/pakfire.log - chmod 664 /var/log/pakfire.log + chmod 644 /var/log/pakfire.log ln -sf ../../var/log/pakfire /opt/pakfire/logs ln -sf ../../var/cache/pakfire /opt/pakfire/cache @$(POSTBUILD) -- 2.39.5