*BSD News Article 74093


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!nntp.coast.net!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: httpd through cron
Date: 18 Jul 1996 10:26:43 +0100
Organization: Coverform Ltd.
Lines: 32
Message-ID: <4sl00j$bn@anorak.coverform.lan>
References: <4s88g3$krt@usenet.srv.cis.pitt.edu> <4sdo3p$461@usenet.srv.cis.pitt.edu> <4sfas7$beb@usenet.srv.cis.pitt.edu>
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

James L Fox (jlfox+@pitt.edu) wrote:

: I have been running tests and I think the problem is more
: fundamental to at and crontab here at my installation.

: A trivial shell script that copies a file from one place to
: another in a test directory works as expected from the
: foreground but will not work from crontab or at unless I
: make the directory writeable to the world!  And then, the
: file thus created shows an owner "32766".

What does your 'crontab -l' say ?

If I set up the following:
22 * * * * rm -f /tmp/Crontest; touch /tmp/Crontest

and crontab it, it gives me a file owned by the user that 'crontab'd
the above.  The only thing I can suspect is that your administrator
has spawned crontab as user nobody....

: I'm posting to a local unix group here and writing to the 
: unix keepers as well.  However, if someone here knows what
: they have done to crontab and at, feel free!!

Try something like
22 * * * * id

and see if it thinks it's the right id.

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....