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" To: "'Mike Brown'" , "'cygwin mail list'" 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 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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