From: Peter Müller Date: Mon, 24 Apr 2023 18:56:07 +0000 (+0000) Subject: Pakfire: Do not make /var/log/pakfire.log writable for "nobody" X-Git-Tag: v2.27-core175~136 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f79faeab5ada455d1d14c1e351bdc60f2c35ff7a;p=ipfire-2.x.git Pakfire: Do not make /var/log/pakfire.log writable for "nobody" Signed-off-by: Peter Müller --- 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)