This is the mail archive of the 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]

Re: cron as w2k service

At 06:02 AM 4/8/2002, Ralph Winzinger wrote:
>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:

>/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                    
RFK Partners, Inc.            
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX

Unsubscribe info:
Bug reporting:

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