aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2008-08-07 14:10:57 +0800
committeredwin <edwin@FreeBSD.org>2008-08-07 14:10:57 +0800
commit9c6751ae1a21b325b287f3a5f0d0c3940b51b5af (patch)
tree8b1cd7e2e360b130c6d6b190f11341d6a3a060eb /sysutils
parentbfe7eb07b7215e77fcaffd49ab4228e88a788045 (diff)
downloadfreebsd-ports-gnome-9c6751ae1a21b325b287f3a5f0d0c3940b51b5af.tar.gz
freebsd-ports-gnome-9c6751ae1a21b325b287f3a5f0d0c3940b51b5af.tar.zst
freebsd-ports-gnome-9c6751ae1a21b325b287f3a5f0d0c3940b51b5af.zip
make sure that crontab is setuid root
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/isc-cron/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysutils/isc-cron/Makefile b/sysutils/isc-cron/Makefile
index 1fa3eb4ae0d0..6bbafc4f9fbc 100644
--- a/sysutils/isc-cron/Makefile
+++ b/sysutils/isc-cron/Makefile
@@ -31,6 +31,8 @@ do-extract:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cron ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/crontab ${PREFIX}/bin
+ ${CHOWN} root ${PREFIX}/bin/crontab
+ ${CHMOD} 4555 ${PREFIX}/bin/crontab
${INSTALL_MAN} ${WRKSRC}/crontab.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/crontab.5 ${PREFIX}/man/man5
${INSTALL_MAN} ${WRKSRC}/cron.8 ${PREFIX}/man/man8