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 [EMAIL PROTECTED] 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/