delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/26/11:35:39

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
Message-ID: <430F3703.6261D1BB@dessent.net>
Date: Fri, 26 Aug 2005 08:36:35 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: crontab
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>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

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.  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.

Brian

--
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