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]

Re: permission problem with crons


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


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