]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
configroot: prevent any Perl file within /var/ipfire/ from being owned by nobody
authorPeter Müller <peter.mueller@ipfire.org>
Tue, 1 Jun 2021 20:23:59 +0000 (22:23 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 2 Jun 2021 09:42:50 +0000 (09:42 +0000)
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/configroot

index 2ab9cc29b5c6b16c8a4d30cf2db2c5cbb4e28013..02b2883ba459b0a928a77a76a22dbf7f4d40dc11 100644 (file)
@@ -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        #
@@ -169,7 +169,7 @@ $(TARGET) :
        # Configroot permissions
        chown -R nobody:nobody $(CONFIG_ROOT)
        chown      root:root   $(CONFIG_ROOT)
-       for i in backup/ header.pl general-functions.pl graphs.pl lang.pl addon-lang/ langs/ ; do \
+       for i in backup/ *.pl addon-lang/ langs/ ; do \
             chown -R root:root $(CONFIG_ROOT)/$$i; \
        done
        chown -Rv root:root $(CONFIG_ROOT)/*/bin