]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/logwatch
Do not permit world-readability of /etc/sudoers.d/
[ipfire-2.x.git] / lfs / logwatch
index 26da2c62efacc898ef1b79fc6c029595ad86879e..8631f4541d58ceb4e366abb3b7d4bb66ae560fdf 100644 (file)
@@ -106,8 +106,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        ln -vsf /usr/share/logwatch/default.conf /etc/logwatch/conf
 
        -mkdir -p /etc/sudoers.d
-       chmod -v 755 /etc/sudoers.d
-       install -v -m 644 $(DIR_SRC)/config/logwatch/sudoers/logwatch-mdadm \
+       chmod -v 750 /etc/sudoers.d
+       install -v -m 640 $(DIR_SRC)/config/logwatch/sudoers/logwatch-mdadm \
                 /etc/sudoers.d/logwatch-mdadm
 
        @rm -rf $(DIR_APP)