[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tiny bug in ucrond




Hi.

I tried doing as you suggest: made /var/lib/crontabs world-readable, made
the user's crontab file owned by root.  There's a crontab.main file which
is a hard link to root's crontab file and doesn't have any of the user's
jobs in it.

And yet, it still is not running my cron job.  And also doesn't run it when
my computer is shutdown and brought back up.

Are there any diagnostics I can turn on to fix this problem?

 > From: http://dummy.us.eu.org/robert (robert)
 > Date: Thu  Jun 25, 10:21am
 >
 > 
 >  > From: alinden <http://www.localhost.de/~alinden>
 >  > Date: Thu  Jun 25,  6:03am
 >  >
 >  > robert writes:
 >  >  > 
 >  >  > There is a crontab file.  It looks like it only has stuff from root's
 >  >  > crontab file -- I thought that that was normal.  Is it?
 >  > 
 >  > Should be that, only if you use crontab under your user account (or with
 >  > -u) the crontab it creates has your user name, similar to dcron and most
 >  > others. In vixiecron you can do something like 'su user%' from the root
 >  > crontab to pipe into the su command and set another user. This doesn't
 >  > work here, my idea was to use an option (-U=user) because the user appears
 >  > correctly in the logfile then and it doesn't have to load an external
 >  > program to run it.
 >  > 
 >  > > It says "5 jobs registered".  I haven't counted the actual number of jobs,
 >  > 
 >  > Sounds correct. If I understand you right, it didn't install your private
 >  > (non-root) crontab?
 > 
 > Right.
 > 
 >  > This should appear if you use crontab <file> 
 >  > or crontab -e under your user account. Is the directory with crontabs 
 >  > world readable
 > 
 > No.  I'll do this as well.
 > 
 >  > and the crontab command suid root?
 > 
 > Yes.
 > 
 >  > Thanks for reporting bugs!
 > 
 > Thanks to you for the software!
 > 
 >  > Alexander






Why do you want this page removed?