]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
fcron: Fix permissions of configuration files.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 4 Nov 2011 13:51:10 +0000 (14:51 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 4 Nov 2011 13:51:10 +0000 (14:51 +0100)
Some people had trouble with building the package on
Ubuntu 10.10.

http://forum.ipfire.org/index.php?topic=5107.msg38692#msg38692

lfs/fcron

index 38343d4073ede643bf6504524f300625e9686603..d8fe8fbd9c4058716339bf0cdf86520d714bbe80 100644 (file)
--- a/lfs/fcron
+++ b/lfs/fcron
@@ -102,6 +102,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        echo "Place scripts run weekly here ..." > /etc/fcron.weekly/info.txt
        echo "Place scripts run monthly here ..." > /etc/fcron.monthly/info.txt
 
+       chmod 640 /etc/fcron.{conf,allow,deny}
        /usr/bin/fcrontab $(DIR_SRC)/config/cron/crontab
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)