Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <010a01c2f3e1$677f1c90$cf6d86d9@ellixia>
From: "Elfyn McBratney" <elfyn@exposure.org.uk>
To: "cygwin" <cygwin@cygwin.com>, <steve@kelem.name>
References: <Pine.GSO.4.44.0303261318490.561-100000@slinky.cs.nyu.edu> <3E821C74.3040006@pacbell.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@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@exposure.org.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/

