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

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 03:32:33 +0300 (EEST)
From: rudy AT viper DOT iasi DOT rdsnet DOT ro
To: cygwin AT cygwin DOT com
Subject: Re: Strange mount issue in sshd
In-Reply-To: <Pine.LNX.4.44.0208120238510.28322-100000@viper.iasi.rdsnet.ro>
Message-ID: <Pine.LNX.4.44.0208120324060.28322-100000@viper.iasi.rdsnet.ro>
MIME-Version: 1.0

On Mon, 12 Aug 2002 rudy AT viper DOT iasi DOT rdsnet DOT ro wrote:

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

Sort of worked this one out: the problem was that there were 2 lists of 
mount in registry: 
- one "system" in HKEY_LOCAL_MACHINE\...
- and one "user defined" in HKEY_CURRENT_USER\... (ofc, also in 
HKEY_USERS...)

The solution was to delete all my mounts (either by umount either by 
deleting apropriate registry keys) and remounting with --system.

So my little problem is gone. But: wouldn't be more appropriate (don't 
know how much developement work would this imply) that cygwin.dll would 
update the mount table after login.exe is called? This way, the mounts 
that are defined by a user would be available via sshd logins.

Best regards,
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