Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2003 17:06:33 +0200 (CEST)
From:      Alex de Kruijff <akruijff@dds.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53843: trouble running getmail from cron
Message-ID:  <200306271506.h5RF6XtS048560@akruijff.xs4all.nl>
Resent-Message-ID: <200306271510.h5RFA381097235@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         53843
>Category:       ports
>Synopsis:       trouble running getmail from cron
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 27 08:10:02 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex de Kruijff
>Release:        FreeBSD 4.7-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD akruijff.xs4all.nl 4.7-RELEASE-p7 FreeBSD 4.7-RELEASE-p7 #0: Fri Mar 21 14:53:10 CET 2003 alex@akruijff.xs4all.nl:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
        I updated the port getmail today and after this getmail aborts
	with a error if run from the cron. My crontab line is:
	58      16      *       *       *       /usr/local/bin/getmail

        And it comes back with:
Date: Fri, 27 Jun 2003 16:58:00 +0200 (CEST)
From: akruijff@www.kruijff.org (Cron Daemon)
To: akruijff@Intranet.lan
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/alex>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=akruijff>
X-Cron-Env: <USER=akruijff>

exec: : permission denied

	I check the premessions on the file:
	ll /usr/local/bin/getmail
	-r-xr-xr-x  1 root  wheel  328 Jun 27 09:25 /usr/local/bin/getmail*

	I used portsdb -uU; portupgrade -Rr getmail to update the port/package.

	
>How-To-Repeat:
        - update the getmail source to 26 a 27 jun and update.
	- Run getmail from the cron
	
>Fix:
Workaround: don't run getmail from the cron i.e. do it by hand.
	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306271506.h5RF6XtS048560>