delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/14/15:58:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Message-ID: <41E830B0.7070207@watchmark.com>
Date: Fri, 14 Jan 2005 12:50:56 -0800
From: Eddie Chan <echan AT watchmark DOT com>
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920 Netscape/7.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: rsh can't access the net work drive
References: <41E81457 DOT 9080804 AT watchmark DOT com> <Pine DOT GSO DOT 4 DOT 61 DOT 0501141423150 DOT 14405 AT slinky DOT cs DOT nyu DOT edu> <41E8231C DOT 8000206 AT watchmark DOT com> <Pine DOT GSO DOT 4 DOT 61 DOT 0501141503220 DOT 14405 AT slinky DOT cs DOT nyu DOT edu>
X-IsSubscribed: yes

Thanks, I didn't read the link...

EDDIE

Igor Pechtchanski wrote:
> Ugh, top-posting...  Reformatted.
> 
> On Fri, 14 Jan 2005, Eddie Chan wrote:
> 
> 
>>Igor Pechtchanski wrote:
>>
>>>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.
>>
>>Thanks for your suggestion.
>>
>>However, the problem seems to be the permission from rsh. I try the
>>commmand on cygwin window without problem...
>>
>>
>>>ls //epic/devspace-cm
>>
>>But if I run the command through remote shell. I got the access problem...
>>
>>
>>>rsh deckard 'ls //epic/devspace-cm'
>>
>>ls: //epic/devspace-cm: No such file or directory
>>
>>It seems to me that when you run remote shell, you lose some permission
>>as you running directly from cygwin window.
>>Any idea???
> 
> 
> Umm, you *did* read my *whole* reply above, right?  And you did follow the
> link I provided, right?  I said that rsh does lose the permission
> ("doesn't have the same privilege", rather).
> 
> In short (to reiterate the content of the link), you cannot access network
> shares that require password authentication when logging in without a
> password.  This is a Windows limitation, and Cygwin can do nothing about
> it.  Either use a password to rsh, or change the share permissions to not
> require a password.
> 	Igor



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