This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: rsh can't access the net work drive
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Eddie Chan <echan at watchmark dot com>
- Cc: cygwin at cygwin dot com
- Date: Fri, 14 Jan 2005 14:26:46 -0500 (EST)
- Subject: Re: rsh can't access the net work drive
- References: <41E81457.9080804@watchmark.com>
- Reply-to: cygwin at cygwin dot com
On Fri, 14 Jan 2005, Eddie Chan wrote:
> Hi,
>
> I have set up cygwin to be able to remote shell to it. In cygwin, I was
> able to do
>
> > ls "\\\\epic\\devspace-cm\\scripts"
FYI, you can use forward slashes too, i.e., the following will work:
ls //epic/devspace-cm/scripts
(so no need to double the backslashes, or to quote). BTW, quotes don't do
anything in this particular case anyway, as the only thing you need to
protect are the backslashes, which aren't protected by double quotes.
> epic is the network file system.
>
> But whe I try to run the same command remotely, it failed to access the
> network share. Any idea how to fix it?
>
> > rsh deckard 'ls "\\\\epic\\devspace-cm"'
> ls: \\epic\devspace-cm: No such file or directory
>
> It seems that rsh to cygwin didn't have the same privilege as execute
> locally.
> Any response is appreciated!
It doesn't. See the second paragraph of
<http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-switch>.
Igor
P.S. This was wa-ay too on-topic for the cygwin-talk list. Please
restrict this thread to the main Cygwin list.
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
--
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/