mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Pakfire: Do not make /var/log/pakfire.log writable for "nobody"
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
|
||||
# Copyright (C) 2007-2023 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 #
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user