This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with net use from ssh logged on user vs cygwin user on console


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]