delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/11/19:54:48

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
Date: Mon, 12 Aug 2002 02:54:38 +0300 (EEST)
From: rudy AT viper DOT iasi DOT rdsnet DOT ro
To: cygwin AT cygwin DOT com
Subject: Strange mount issue in sshd
Message-ID: <Pine.LNX.4.44.0208120238510.28322-100000@viper.iasi.rdsnet.ro>
MIME-Version: 1.0

I searched the archives but could not find a similar story so here it is:

I keep my installation updated with the latest versions available to setup 
from one official mirror. I have:

[rudy AT RUDY ~]$ uname -a
CYGWIN_NT-5.0 RUDY 1.3.12(0.54/3/2) 2002-07-06 02:16 i686 unknown

openssh is version 3.4p1-5, but the problem is similar on p1-4 too.

The annoying problem is that while logging to my machine using ssh, I get 
the prompt, but the mounts that I defined are not mounted anymore. I can 
guess that the rule is "only system mounts + /cygdrive/x are supported 
within sshd". Here is the situation:

- from bash prompt:
[rudy AT RUDY /usr/local/bin]$ mount
C:\cygwin\lib\gcc-lib\m68k-palmos\2.95.3-kgpd on 
/usr/lib/gcc-lib/m68k-palmos/2.95.3-kgpd type user (textmode)
C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system 
(binmode)
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
d:\opt\rudy on /home/rudy type user (binmode)
D:\PalmDev on /PalmDev type user (textmode)
C:\cygwin on / type system (binmode)
d:\Work on /opt/work type user (binmode)
d:\opt on /opt type user (binmode)
c: on /cygdrive/c type user (binmode,noumount)
d: on /cygdrive/d type user (binmode,noumount)
e: on /cygdrive/e type user (binmode,noumount)
[rudy AT RUDY /usr/local/bin]$

-from ssh session:
$ mount
C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system 
(binmode)
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /cygdrive/c type user (binmode,noumount)
d: on /cygdrive/d type user (binmode,noumount)
e: on /cygdrive/e type user (binmode,noumount)
0;~
rudy AT RUDY ~
$

(You may note the different prompt: that's becouse my home dir (with 
.bashrc, .bash_profile) is a user mount too, so not available anymore)

Did anyone have similar problems? Any idea how to solve this? (I tried 
reinstalling sshd, restarting machine etc)

Thanks in advance,
rudy


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