delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/23/12:22:30

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.1.2.20010823121721.02596a20@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Thu, 23 Aug 2001 12:18:04 -0400
To: "Cioffari, Joseph" <Joseph DOT Cioffari AT aig DOT com>,
"'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: problem with cron and network shares
In-Reply-To: <4.3.1.2.20010823120624.025a5de0@pop.ma.ultranet.com>
References: <1A05332A91CFD411BC7F00902754B62201F753A5 AT xlivmbx10 DOT aig DOT com >
Mime-Version: 1.0

At 12:08 PM 8/23/2001, Larry Hall (RFK Partners, Inc) wrote:
>At 12:00 PM 8/23/2001, Cioffari, Joseph wrote:
> >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?
>
>
>Does the user that cron run as have access to these shares?

                          ^^^^
                          runs

>Possible (easy) solution:  Use UNC paths instead.
>
>
>
>Larry Hall                              lhall AT rfk DOT com
>RFK Partners, Inc.                      http://www.rfk.com
>118 Washington Street                   (508) 893-9779 - RFK Office
>Holliston, MA 01746                     (508) 893-9889 - FAX
>
>
>--
>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/


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019