delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <31599258.post@talk.nabble.com> |
Date: | Wed, 11 May 2011 17:50:26 -0700 (PDT) |
From: | CygwinNoob <mstrickland AT globys DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Copy to network UNC path from crontab works in non-production, not in production |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
cygwin 1.7.7-1 Windows 2008 64-bit I have a script that I am trying to run from cron that copies a local file on a Windows 2008 server to a UNC path on another Windows 2008 server. It works fine in a non-Production environment, but not in Production and I can't figure out why. Yes, I've dutifully searched the forum and looked at http://cygwin.com/faq/faq-nochunks.html#faq.using.shares http://cygwin.com/cygwin-ug-net/ntsec.html The answer is not popping out at me. What I'm doing is basically this: cp a.a \\\\server-name\\sharename What I get in Production is: cp: cannot create regular file `//server-name/sharename': File exists But the file does not exist. I'm using the same Windows account on both the source and target servers in both environments and they have the same password on both servers. I don't see any differences between the non-Production and Production environments. I considered installing Cygwin on the target server in Production (even though it's not needed), so I did a test in a non-Production environment and it didn't work, so I haven't pursued that path. -- View this message in context: http://old.nabble.com/Copy-to-network-UNC-path-from-crontab-works-in-non-production%2C-not-in-production-tp31599258p31599258.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |