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 Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <4.3.1.2.20020107100544.02155170@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Mon, 07 Jan 2002 10:07:45 -0500 To: aa ww , cygwin AT cygwin DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: permission problem with crons In-Reply-To: <20020107020012.73598.qmail@web21207.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 09:00 PM 1/6/2002, aa ww wrote: >Hi Cygwin, > >I tried to run a cron job as follows: > >$ cygrunsrv -I cron -p /usr/sbin/cron -a -D -e >CYGWIN="tty ntsec" >$ cygrunsrv -S cron > >The crons starts, I checked this by ps -ef. But, when >i tried to add a cronjob by >crontab -e >and type >40 10 * * * /home/admin/cron.sh > >then it gave me this errors: >crontab:installin new crontab >crontab:error renaming tabs/tmp.000864 to tabs/admin >rename: Permission denied > >I can not delete the error files in the var/cron/tabs >foler too even I logged on as admin. Any help ?? Are you sure these files aren't open exclusively by some process? Windows opens files exclusively by default and one cannot rename or remove files opened in this way. 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/