delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/08/06:03:41

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
X-Authentication-Warning: ns1.100world.com: Host [62.128.16.226] claimed to be mail.100world.com
X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: cron as w2k service
Date: Mon, 8 Apr 2002 12:02:58 +0200
Message-ID: <CFBEEF36513E5A48BC73974BE27E88D173149F@nues-exc01-2k.100world.global>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Ralph Winzinger" <ralph DOT winzinger AT 100world DOT de>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g38A3fB03209

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).

/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 ...

Any hints welcome
Ralph

BTW: great tool!



________________________________________________________________
Ralph Winzinger                           100world AG
MiddleWare Center                         Vordere Cramergasse 11
Fon: +49 (0)911 4244-202        	      D-90478 Nürnberg
Fax: +49 (0)911 4244-100      
ralph DOT winzinger AT 100world DOT com              www.100world.com



--
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