]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
configroot: Fix permissions of executable files.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 2 Sep 2013 20:22:26 +0000 (22:22 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 2 Sep 2013 20:22:26 +0000 (22:22 +0200)
This must always be owned by root and must not be editable
and executable by the world.

lfs/configroot

index 690b9c9769b94b3f22263a246e7c5ea2bf686644..7232e14b64e0c4cdc5b0ff8582d327b7df02d3e6 100644 (file)
@@ -159,10 +159,10 @@ $(TARGET) :
        # Configroot permissions
        chown -R nobody:nobody $(CONFIG_ROOT)
        chown      root:root   $(CONFIG_ROOT)
        # Configroot permissions
        chown -R nobody:nobody $(CONFIG_ROOT)
        chown      root:root   $(CONFIG_ROOT)
-       for i in backup/ header.pl general-functions.pl lang.pl addon-lang/ langs/ red/ ; do \
+       for i in backup/ header.pl general-functions.pl graphs.pl lang.pl addon-lang/ langs/ red/ ; do \
             chown -R root:root $(CONFIG_ROOT)/$$i; \
        done
             chown -R root:root $(CONFIG_ROOT)/$$i; \
        done
+       chown -Rv root:root $(CONFIG_ROOT)/bin
        chown root:nobody $(CONFIG_ROOT)/dhcpc
 
        chown root:nobody $(CONFIG_ROOT)/dhcpc
 
-               
        @$(POSTBUILD)
        @$(POSTBUILD)