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]

Strange mount issue in sshd


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


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