*BSD News Article 74013


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!hunter.premier.net!news1.erols.com!news
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: httpd through cron
Date: Wed, 17 Jul 1996 19:08:05 -0700
Organization: A poorly-installed InterNetNews site
Lines: 40
Message-ID: <31ED9C85.3F19@www.play-hookey.com>
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: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (Win16; I)

James L Fox wrote:
> 
> In article <4sdo3p$461@usenet.srv.cis.pitt.edu>,
> James L Fox <jlfox+@pitt.edu> wrote:
> >
> >---------
> >Note:
> >I know this group is FreeBSD and not SunOs or CERN but I also
> >know that many posters/readers here are running web servers,
> >understand cron, and might want to try to do what I'm doing
> >with Apache on FreeBSD.
> >---------
> >
> Some were confused by my mention of Apache in this context.
> Although I am having problems launching CERN httpd, I thought
> those in this group were more likely to be using Apache but
> still might want to do what I'm trying.
> 
> ----------------------------
> 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".
> 

I suspect a more fundamental problem here. Make sure that the directory, 
the files to be copied & copied to, and the entry in crontab all have the 
same owner. I've encoutered some really odd problems that were caused by 
owner conflicts, especially when one was root.
-- 

Ken

Are you interested in   |
byte-sized education    |   http://www.play-hookey.com
over the Internet?      |