Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 22 Jun 2001 19:05:39 +0200 From: Corinna Vinschen To: cygwin Subject: Re: New on sources: cron-3.0.1-1 Message-ID: <20010622190539.A1647@cobold.toronto.redhat.com> Mail-Followup-To: cygwin References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20010619153026 DOT 03b7ed90 AT imap DOT mscha DOT org> <20010610120625 DOT D1144 AT cygbert DOT vinschen DOT de> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20010618121739 DOT 03a46dc0 AT imap DOT mscha DOT org> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20010619153026 DOT 03b7ed90 AT imap DOT mscha DOT org> <20010621204325 DOT B1830 AT cobold DOT toronto DOT redhat DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20010622011849 DOT 029745d8 AT imap DOT mscha DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.12i In-Reply-To: <5.1.0.14.2.20010622011849.029745d8@imap.mscha.org>; from cygwin@mscha.com on Fri, Jun 22, 2001 at 01:50:20AM +0200 On Fri, Jun 22, 2001 at 01:50:20AM +0200, Michael Schaap wrote: > At 20:43 21-6-2001, Corinna Vinschen wrote: > >Maybe, I missed something when porting. I'm currently in vacation > >so that will take some time. > > I think you should interrupt your vacation to solve this problem RIGHT NOW! > (Just kidding, of course. Enjoy your well deserved vacation.) > > In any case, I checked the source code, and crontab indeed tries to seteuid > to ROOT_UID (= System). It looks like you added code to seteuid back to > the original uid almost immediately afterwards. If you instead not seteuid > at all, it seems to work fine. (Well, probably only for users with > Administrator privileges, but that's better than requiring System privileges.) > > I've attached a patch for this change. > > - Michael Thanks, Michael! I have applied the patch and uploaded a new version of cron (3.0.1-2) to sourceware. It should appear on the mirrors at least tomorrow. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple