delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/19/12:02:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 19 Sep 2001 18:01:09 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: cron / crontab different permissions
Message-ID: <20010919180109.C32393@cygbert.vinschen.de>
Mail-Followup-To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
References: <E1B4A7141B8BD411925200508BC5D44FF2C3B7 AT ANGELMAIL01>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <E1B4A7141B8BD411925200508BC5D44FF2C3B7@ANGELMAIL01>; from Dan.Gardner@emap.com on Wed, Sep 19, 2001 at 04:27:21PM +0100

On Wed, Sep 19, 2001 at 04:27:21PM +0100, Dan Gardner wrote:
> I found/use the same work around:
> crontab blabla;chmod 666 /var/cron/tabs/username
> 
> Its a shame as just 2 weeks ago this was working fine for me,  then windows
> does its blue-screen belly flop.  I didn't keep a record of the cron &
> cygwin version I was using previously.
> 
> Personally I've been through the source, as I had to turn off Event Log
> logging, but I'm not a very good source editor yet, if I find anything I'll
> let you know.
> 
> I'm on the opinion it may be related to the environment value for CYGWIN, or
> maybe the stuff below:
> 
> Just a note, when the makefile has the following two lines:
> 			$(INSTALL) -c -m  755 -o root -s cron
> $(DESTSBIN)/
> 			$(INSTALL) -c -m 4755 -o root -s crontab $(DESTBIN)/
> I replace root with SYSTEM.  I presume this is correct ?! > anyone who knows
> :).

Sorry that I was unresponsive here.

I _think_ the correct way would be that crontab tries to give
group membership of the tabs file always to SYSTEM and the
permission bits should be 640.  If anybody has a better solution
in the light of not having s-uid support please feel free to
suggest it.

And, yes, you're right. Substitute `root' by `SYSTEM' in the
Makefile.

I hope to be able to upload a patched version of cron this week.

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
Bug reporting:         http://cygwin.com/bugs.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