Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <1A05332A91CFD411BC7F00902754B62201F753A5@xlivmbx10.aig.com> From: "Cioffari, Joseph" To: "'cygwin AT cygwin DOT com'" Subject: problem with cron and network shares Date: Thu, 23 Aug 2001 12:00:07 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Hi, I am currently able to execute the following command at the command line in cygwin with no problem: $cp /home/Administrator/test.doc J:/docs/sfrank (Copies the file from my local cygwin home directory to a mapped network share) However, when I put this (or any cp/ftp/mv command that involves a network share) in my crontab it spits back an error saying "Permission Denied" when trying to copy the file over to the mapped network share. It seems that cron will only copy files to my local machine directories but not network shares. Just wondering why it works if I manually perform the operation but doesn't work ("Permission Denied") when I run it through cron. I've also tried removing the file first just to make sure it wasn't copying over itself. Any ideas? Regards, Joe --------------------- Joe Cioffari Unix Engineer American International Group New York, NY 10270 joseph DOT cioffari AT aig DOT com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/