This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crontab (Attn: FAQ maintainer)


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]