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: Wed, 19 Sep 2001 18:01:09 +0200 From: Corinna Vinschen To: "'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'" References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; 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/