delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/16/16:22:27

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: Yes, hits=5.2 required=5.0 tests=AWL,BAYES_00,BOTNET,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
To: "'Mike Brown'" <brown AT mrvideo DOT vidiot DOT com>,
"'cygwin mail list'" <cygwin AT cygwin DOT com>
References: <20111216203108 DOT GE14806 AT mrvideo DOT vidiot DOT com>
In-reply-to: <20111216203108.GE14806@mrvideo.vidiot.com>
Subject: RE: cron still not working - even after rerunning cron config
Date: Fri, 16 Dec 2011 16:21:45 -0500
Message-id: <016b01ccbc38$b7885f20$26991d60$@ieee.org>
MIME-version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com


> -----Original Message-----
> From:  Mike Brown
> Sent: Friday, December 16, 2011 15:31
> To: cygwin mail list
> 
> I desperately need to get this fixed as I will be leaving for a trip on
the 20th and
> have some cron stuff to run while I am gone.
> 
> I ran cron-diagnose.sh, which now runs the cron-config, and changed from
just-
> me to local system and that still didn't fix the problem.  A ps -eaf shows
that
> cron is now UID SYSTEM and not 0.  But that did not make a difference.  I
set up
> the following entry in my crontab:
> 
>     12 14 * * *	touch /tmp/crontest
> 
> The time came and went and no zero length file showed up.
> 
> Running cronevents, the list had the following error line:
> 
> 2011/12/16 14:12:01 [SYSTEM] /usr/sbin/cron: PID 2524: (Vidiot) WRONG FILE
> OWNER (tabs/Vidiot)
> 
> Which file is it exactly complaining about?  My crontab file, which worked
> under 1.5?  What is needed to fix it?  Where is the crontab file placed?

Yes, it is in /var/cron/tabs/
Problems like this have been reported when a user xxxx is both a local user
and a domain user (2 xxxx entries in /etc/passwd).
Cron with suid to the 1st matching passwd entry 
  
Pierre



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019