delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/18/07:16:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Thu, 18 Dec 2003 13:16:09 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Windows 2003 Server & Cygwin Cron
Message-ID: <20031218121609.GV1941@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <200312171927 DOT hBHJRXTp031215 AT xunil DOT starwhite DOT net> <Pine DOT GSO DOT 4 DOT 56 DOT 0312171438330 DOT 4928 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.56.0312171438330.4928@slinky.cs.nyu.edu>
User-Agent: Mutt/1.4.1i

On Dec 17 14:43, Igor Pechtchanski wrote:
> Quoting crontab.c from the cron-3.0.1-11 sources:
> 
> /* Cygwin can't support changing the owner since that requires crontab to
>    be a s-uid application which is not supported.
>    As workaround we try to set group membership to be SYSTEM (== ROOT_UID)
>    and setting permissions to 640 which should allow cron to work. */
> 
> So, Cygwin basically assumes that the user that cron runs under will be in
> the SYSTEM group, and tries to change the mode of the tab file so that
> cron can access it.  Unfortunately, that's not true for the directions
> that Corinna gave for Win2003, since the cron_server user is not in the
> SYSTEM group.  One solution is to assume the invariant that cron always
> runs as a user in the SYSTEM group, but, AFAICS, there is no way to add a
> user to the SYSTEM group.  Another solution is to select another group and
> make that invariant (and add the cron_server user to it), which will
> require changing the cron sources.
> 
> Corinna, any comments?

No, except that there's no SYSTEM group and using SYSTEM as a group
is some sort of a Cygwin hack.  Using administrators as group is
actually better.  Will change at one point in future.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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

- Raw text -


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