delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/10/07:46:54

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
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 10 Jan 2002 13:45:12 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: telnet cannot see mount drive
Message-ID: <20020110134512.D2077@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20020110095916 DOT 28228 DOT qmail AT web21203 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <20020110095916.28228.qmail@web21203.mail.yahoo.com>
User-Agent: Mutt/1.3.22.1i

On Thu, Jan 10, 2002 at 09:59:16AM +0000, Tiffany Chan wrote:
> I mapped network drive (h:) in network neighboornood
> in w2k SP2 advanced server. The network drive (h:) can
> be accessed in both w2k "My computer" , w2k command
> line "cd" and also in shortcut of Cygwin in w2k
> desktop.
> 
> But when I telnet to the w2k server using Cygwin ,
> type "mount". I cannot see h: or /cygdrive/h:, I also
> try to use mount -s h: \\server\folder, but it does
> not work. I cannot cd to h:
> 
> I telnet using w2k telnet server. I see that the
> network drive is mapped by typing "mount", but it show
> the status is "not available". also cannot "cd" to it.
> 
> Would you mind to help me ? Thanks

That's how it works, unfortunately.  When telnetting into the box
you're running in another logon session.  You have no access
to the mapped drives of the same user when logged on in a
desktop session.

Workaround:  Create a new drive mapping *inside* your telnet session
using another drive letter:

    net use J: ....

But *DON'T FORGET* to release the drive mapping before logging
out that very telnet session.  Otherwise this drive letter
is never ever usable as long as the machine isn't rebooted:

    net use J: /delete

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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