delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/08/14:44:45

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: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 8 Apr 2003 14:44:11 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Richard Sharpe <rsharpe AT richardsharpe DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Problems with net use from ssh logged on user vs cygwin user on
console
In-Reply-To: <Pine.LNX.4.33.0304081213450.3657-100000@ns.aus.com>
Message-ID: <Pine.GSO.4.44.0304081443140.21921-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Tue, 8 Apr 2003, Richard Sharpe wrote:

> Hi,
>
> In trying to figure out my problems with Net Use via ssh, I noticed the
> following.
>
> If I log on to my Win2K system with ssh, I can do net use blah blah and I
> get a drive that I can use and so forth.
>
> However, if I look AT what drives are mapped from a cygwin window on the
> console, these drives show up as unavailable, and when I try to use them,
> as in:
>
>   dir j:
>
> I get the following error message:
>
> dir: j\:: no such file or directory
>
> which suggests that the ssh logged on process is actually adding a literal
> : in the device name or something.
>
> Has anyone seen this? Does anyone know a work around? Using some single
> quotes around strings did not help.
>
> Regards
> Richard Sharpe

The second colon is added by the "ls" command.  Try "ls /cygdrive/j" --
you'll get the same result.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


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