This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cron as w2k service


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.winzinger@100world.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]