delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/25/22:59:00

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3BD8CFFF.66B41644@smartcontainer.net>
Date: Fri, 26 Oct 2001 12:52:47 +1000
From: Matthew Lee <mlee AT smartcontainer DOT net>
Organization: Smart Container
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686)
X-Accept-Language: en, de-DE
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: rsh on Windows XP : Please help

Hi,

I am having a rather difficult time getting rsh to work properly with
networked drives.  I am using CYGWIN_NT-5.1 1.3.3 (on Windows XP
machine).

Basically, I cannot get rsh commands to access networked drives.

On the windows box, I have a samba-shared drive on a Linux box mapped as
drive K.  I want to run a windows-based cross-compiler on the XP
machine, but it needs to access source files on the Linux machine.  The
cross-compiler is to be invoked by a build system (Aegis) running on the
Linux machine.

Running cygwin locally on the windows box gives me (in part) this:

~> mount
k: on /cygdrive/k type user (binmode, noumount)

The inetutils README file indicates that this drive should be in the
system mount table.  I tried : mount -s k: /cygdrive/k, which warned me
that it would always be masked as user mode, but "mount" now display:

~> mount
k: on /cygdrive/k type system (textmode)

Locally, "ls k:" and "ls /cygdrive/k" commands work as expected.


Now, if I rsh from a Linux box, I get (in part):

LinuxBox> rsh windowsBox mount
k: on /cygdrive/k type system (textmode)

However, if I try:

LinuxBox> rsh windowsBox "ls k: 2>&1"
or
LinuxBox> rsh windowsBox "ls /cygdrive/k 2>&1"

I get:
ls: k:: No such file or directory
ls: /cygdrive/k: No such file or directory

If I telnet into the windows machine, supplying both a login name and
password, I get exactly the same results as the above "mount" and "ls"
commands supplied via rsh.

inetd is running on the XP machine as LocalSystem.

What's going wrong?  Any help appreciated!


Regards,
Matt
Smart Container

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