delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/26/16:46:56

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <elfyn AT exposure DOT org DOT uk>
To: "cygwin" <cygwin AT cygwin DOT com>, <steve AT kelem DOT name>
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0303261318490 DOT 561-100000 AT slinky DOT cs DOT nyu DOT edu> <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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019