www.delorie.com/archives/browse.cgi | search |
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 |
X-Injected-Via-Gmane: | http://gmane.org/ |
To: | cygwin AT cygwin DOT com |
From: | Andrew DeFaria <ADeFaria AT Salira DOT com> |
Subject: | cron and network drives |
Date: | Fri, 15 Aug 2003 14:16:41 -0700 |
Lines: | 37 |
Message-ID: | <bhjijq$m90$1@sea.gmane.org> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) |
X-Accept-Language: | en-us, en, zh |
I have a situation here. Now I know that cron can have problems with network drives. As I understand it cron runs as SYSTEM and switches users to the user whose crontab is being "run". As such it's a passwordless "login" and I am told that with passwordless logins Windows security restricts access to things like network mapped drives. This can be shown by the following cronjob: 00 12 * * * net use > /tmp/netuse Which results in: New connections will be remembered. Status Local Remote Network ------------------------------------------------------------------------------- M: \\view ClearCase Dynamic Views Unavailable T: \\sons-cc\Tools Microsoft Windows Network The command completed successfully. Note the Unavailable for the T drive. This was produced on a system with Cygwin 1.3.22 installed, cron 3.0.1-10. However, and this is the part that gets me, on another system running Cygwin 1.3.20, cron 3.0.1-7 the same cronjob produces: New connections will be remembered. Status Local Remote Network ------------------------------------------------------------------------------- M: \\view ClearCase Dynamic Views OK T: \\sons-clearcase\Tools Microsoft Windows Network The command completed successfully. Note the OK for the T drive. I need to have access to the T drive. Why can I access it through cron on one system and not the other? -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |