Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-Id: <4.3.1.2.20020408103842.022e8f28@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com Date: Mon, 08 Apr 2002 10:45:55 -0400 To: "Ralph Winzinger" , From: "Larry Hall (RFK Partners, Inc)" Subject: Re: cron as w2k service In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 06:02 AM 4/8/2002, Ralph Winzinger wrote: >Hi, > >I'm just trying to run cron as an windows 2000 service. I'm currently >facing a prblem which I couldn't solve with the help of mailing-list >archives or any other internet resources for the last two weeks. So >please don't answer 'check the archives ...' ;-) > >ntsec is not set > >After cygwin installation, I'm running crontab -e to create/edit a >crontab. Works as expected. >After that I'm installing cron as a windows service using the >"CYGWIN=3Dntsec" parameter. Works as expected. >My cronjobs are doing fine. >The problem is, that cron changes the rights for /var/cron/tabs in a way >that I can't write there any more. Thus trying to change the crontab in >future results in a permission denied message. > >If I install cron without the ntsec parameter, I'm able to change my >crontab as often as I want. But the tradeoff is, that my jobs are not >executed (can't switch user context). 'check the archives ...' Sorry, I couldn't resist! ;-) Actually, this is in the archives. Here's the end of that thread: http://sources.redhat.com/ml/cygwin/2002-03/msg00236.html >/etc/passwd and /etc/group should be fine since generated using mk... -l > > /etc/... > >if I set the ntsec parameter 'globally' as an windows environment >variable, my rights are somehow messed up: I can't even write in my home >directory or in /tmp ... Go back and set the permissions as you need/want them. That's the easiest way out of this. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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/