]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/setup
Do not permit world-readability of /etc/sudoers.d/
[people/pmueller/ipfire-2.x.git] / lfs / setup
index 5779406ef03c0dbcd07568beda262e26b86f2fd2..82286d6a09dd4b54b2942eeaad16049cc57da8e8 100644 (file)
--- a/lfs/setup
+++ b/lfs/setup
@@ -58,5 +58,9 @@ $(TARGET) :
                --with-config-root="$(CONFIG_ROOT)"
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
+
+       # Fix file permissions of /etc/sudoers.d/setup
+       chmod 640 /etc/sudoers.d/setup
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)