delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/26/12:31:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Fri, 26 Aug 2005 12:31:21 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: crontab (Attn: FAQ maintainer)
In-Reply-To: <430F3703.6261D1BB@dessent.net>
Message-ID: <Pine.GSO.4.63.0508261227370.28254@slinky.cs.nyu.edu>
References: <430B3DCD DOT 857CD22E AT opgc DOT univ-bpclermont DOT fr> <Pine DOT GSO DOT 4 DOT 63 DOT 0508231423170 DOT 27271 AT slinky DOT cs DOT nyu DOT edu> <430DE5CC DOT 9A9A3629 AT opgc DOT univ-bpclermont DOT fr> <Pine DOT GSO DOT 4 DOT 63 DOT 0508251144150 DOT 28254 AT slinky DOT cs DOT nyu DOT edu> <430F1B23 DOT EA7DA18 AT opgc DOT univ-bpclermont DOT fr> <Pine DOT GSO DOT 4 DOT 63 DOT 0508261015570 DOT 28254 AT slinky DOT cs DOT nyu DOT edu> <430F33F5 DOT 3BBBC098 AT opgc DOT univ-bpclermont DOT fr> <430F3703 DOT 6261D1BB AT dessent DOT net>
MIME-Version: 1.0

On Fri, 26 Aug 2005, Brian Dessent wrote:

> Jean-Michel Douchain wrote:
> >
> > "Ah, that may explain it.  Is G: a network drive?"
> >
> > That's right. It's a Dos network drive, and in fact, the response of
> > "ls" is very long. I installed cygwin for all users. So I don't know
> > how to manage because my script works by hand!! What are the
> > differents between the cron and the handy execution?? Perhaps
> > including a loop to wait for the answer, will solve my bug??
>
> The answer is in the link that Igor gave you.  This FAQ perhaps should
> be split up into two questions, or at least be made more clear that
> there are two problems being addressed in the answer.

FWIW, I second this suggestion.  Joshua, can we have two questions: "Why
don't Cygwin services work?" and "Why can't Cygwin services access network
shares?" instead of the combined one?

> The first part about user/system mounts is not your problem.  Read the
> second part of the answer, and read the 'ntsec' part of the manual for
> the full explanation.
---------------
> When cron runs your job, it is running as SYSTEM impersonating the user
> account that owns the crontab.  During impersonation, the user's
> password is not available and so non-public network shares are not
> available.
---------------
Now, the marked part above, IMO, looks good enough to put almost verbatim
into the second question.  Opinions?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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