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 Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <010a01c2f3e1$677f1c90$cf6d86d9@ellixia> From: "Elfyn McBratney" To: "cygwin" , References: <3E821C74 DOT 3040006 AT pacbell DOT net> Subject: Re: Win32 error 126 under cron, but not under shell Date: Wed, 26 Mar 2003 21:47:53 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 > >Looks like a simple permission problem. Does your cron run under > >LocalSystem? > > > Yes it is, but I'm not sure what LocalSystem is. My W2K User Admin > doesn't list a user with that name. LocalSystem is a special user account which may be displayed as SYSTEM (I know it's displayed when adding users to groups). > > Is the above DLL readable/executable by LocalSystem? > > > How do I tell? The unix permissions are 555. (As is everything, I think.) [elfyn AT ellixia findcyg]$ ls -al t -r-xr-xr-x 1 elfyn users 0 Mar 26 21:43 t The rx above indicates that the above file (t) is readable and executable be everyone. > > I'm > >assuming it's not in a mounted directory, or if it is, the mount is seen > >by LocalSystem as well. > > Igor Not to sure what the problem may be. Perhaps the output from `mount' or even better `cygcheck -svr' (non-compressed plain-text attachment) may help someone here find out what's wrong. Also, does /var/log/crond.log contain anything useful? Regards, Elfyn McBratney elfyn AT exposure DOT org DOT uk www.exposure.org.uk -- 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/