www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/28/15:56:02

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-Authentication-Warning: just.smarts.com: elbergr owned process doing -bs
Date: Thu, 28 Aug 2003 15:55:18 -0400 (EDT)
From: Rich Elberger <elbergr AT smarts DOT com>
X-X-Sender: elbergr AT just
To: Louis-Luc Le Guerrier <leguerri AT IRO DOT UMontreal DOT CA>
cc: cygwin AT cygwin DOT com
Subject: Re: Need help: cron jobs can't access mounted network drives
In-Reply-To: <Pine.LNX.4.44.0308281553110.4303-100000@vor.iro.umontreal.ca>
Message-ID: <Pine.SOL.4.50.0308281554530.2711-100000@just>
References: <Pine DOT LNX DOT 4 DOT 44 DOT 0308281553110 DOT 4303-100000 AT vor DOT iro DOT umontreal DOT ca>
MIME-Version: 1.0

it's Universal Naming Convention (heh heh funny) ... \\server\share
notation.

On Thu, 28 Aug 2003, Louis-Luc Le Guerrier wrote:

>
> Thanks for the tip. I'm having a look right now...
> But what does UNC stand for?
>
> Luc
> On Thu, 28 Aug 2003, Rich Elberger wrote:
>
> > This is a windows problem.  Similar tell-tale issue is well explained
> > here:
> > http://www.denicomp.com/faq.htm#Q21
> >
> > It all has to do with login session issues.  Win2k terminal services
> > somewhat solved this problem with allowing more than one user to access
> > the same mapped drive, but it was essentially a hack.
> >
> > Best thing to do in this case is use UNC if possible.
> >
> > -- rich
> >
> > On Thu, 28 Aug 2003, Louis-Luc Le Guerrier wrote:
> >
> > > Hi,
> > > I'm using Cygwin on a Windows 2000 Server box. I mount some network
> > > drives from other Windows machines's shared directories, and the
> > > problem is cron jobs can't access these drives.
> > >
> > > A given script will access mounted net drives as /cygwin/f/ when
> > > manually invoked, but that SAME script will refuse to access the
> > > same drives when triggered by a cron job.
> > >
> > > If I type 'net use' before the cron starts, the status of the network
> > > drives is "OK", but if I repeat 'net use' after the cron has triggered the
> > > script with failure to access network drives, I then get "Disconnected"
> > > as status. However, I'm still able to manually go in /cygwin/f/ and
> > > list files, even though the status has become "Disconnected".
> > >
> > > Anyone knows how to fix this problem?
> > > I want to back up these network drives on tape with tar scheduled by
> > > cron.
> > >
> > > TIA.
> > > Luc
> > >
> > >
> > > --
> > > 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/
> > >
> > >
> >
>
>

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

- Raw text -


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