From 3e8bf5d5e65caabcb4212d11bd2edb489b4fd73d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 27 Feb 2014 11:42:11 +0100 Subject: [PATCH] cronie: crontab must be setuid (found by v2px). --- srcpkgs/cronie/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/cronie/template b/srcpkgs/cronie/template index 2e27c94f3d..db2272a3b8 100644 --- a/srcpkgs/cronie/template +++ b/srcpkgs/cronie/template @@ -1,7 +1,7 @@ # Template file for 'cronie' pkgname=cronie version=1.4.11 -revision=3 +revision=4 build_style=gnu-configure configure_args="--with-inotify --without-selinux --with-pam --disable-anacron --localstatedir=/var --enable-pie --enable-relro" @@ -34,4 +34,6 @@ post_install() { # Add /etc/cron.deny empty, to allow all users. touch ${DESTDIR}/etc/cron.deny chmod 644 ${DESTDIR}/etc/cron.deny + # crontab must be setuid + chmod u+s ${DESTDIR}/usr/bin/crontab }