]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
configroot: Ensure connscheduler/lib.pl is not writable by "nobody"
authorPeter Müller <peter.mueller@ipfire.org>
Fri, 18 Nov 2022 13:29:10 +0000 (13:29 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Fri, 18 Nov 2022 13:29:10 +0000 (13:29 +0000)
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
config/cfgroot/connscheduler-lib.pl
lfs/configroot

index f9e4e546640210e150995f29c873911a79b568f3..0ff8e8b8419fece31ab7eb1e5de9e6c84bc7fa78 100644 (file)
@@ -1,9 +1,23 @@
 #!/usr/bin/perl
-#
-# Library file for Connection Scheduler AddOn
-#
-# This code is distributed under the terms of the GPL
-#
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007-2022  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        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
 
 package CONNSCHED;
 
index f278ccf77cdff7cdce9ef4b42672aa408db4220b..c0db17fd9941ab8e0f9ae3fa83ba9ee62202374e 100644 (file)
@@ -169,7 +169,7 @@ $(TARGET) :
        # Configroot permissions
        chown -Rv       nobody:nobody   $(CONFIG_ROOT)
        chown           root:root       $(CONFIG_ROOT)
-       for i in backup/exclude.user backup/include.user *.pl addon-lang/ langs/ ; do \
+       for i in backup/exclude.user backup/include.user connscheduler/lib.pl *.pl addon-lang/ langs/ ; do \
             chown -Rv root:root $(CONFIG_ROOT)/$$i; \
        done
        chown -Rv root:root $(CONFIG_ROOT)/*/bin