[comp.sys.sun] calendar problem under 4.0 ??

eho@clarity.princeton.edu (Eric Ho) (10/03/89)

Hi,

Just wondering if anyone of you got weird calendar(1) problem under 4.0.

Calendar mail messages end up in the wrong person's mailbox and at the
wrong time too !!  For instance, user X has this line in his ~/calendar
file :-

	Oct 2  -- Go to John's meeting.

'calendar -' is usually run by root from crontab at midnight, every night.
And usually, user X will get a mail message to remind him of the meeting
when he comes into his office in the morning.  The mail message of course
would come from daemon since it is generated by cron.

However, the problem we're having here is that the mail message went to
user X ok but an extra copy also appeared to be sent from user Z and at
the wrong time, reminding user X of John's meeting !!  In other words,
user X got 2 messages -- one from daemon, arrived just after midnight and
one from user Z and arrived sometime in the afternoon. This is really
bizarre.  Also, this seems to happen intermittently.

Eric Ho  
Princeton University
eho@confidence.princeton.edu

@tektronix.tek.com (10/15/89)

I've run into similar strangeness... usually user Z has run /etc/cron.
You might consider limiting execute permissions to root (for all the
daemons :-).