delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/07/18/17:31:17

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=d06rKR8
8/WEeOpPR8n3oTa2AQ5N4qWTDfpbXrPgYgaOSRuMvzr+eYOyuV74VeJc6/BObZcO
4UDB2dMeCoZ5cVIVU+oMsXiQ+pNPgFrafqproevVmF/iOgw4qwtzJsOEvCo0xI6v
/jYNwOkt3okclwgxwciy17XpwXsXzuiOHbJ8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type; s=default; bh=NgpTt2Y47KkKf
mz9M57dRKl42rA=; b=LKegoEV9l3aAhBCZhH5Fk9BUTPhmIfb6iFLazFm/FZ/2u
BYWTYMIm7UblwD1LRHVaV/CMOzQ+NEFQZCKcCA43qguJ8Ry/U3WkIiRmoFmjayNK
+q9JYqUhrbAVdHYLhJtTeYEccMQm0SQX6yohcHykA4J7/S7LBzlvMtK1965oZc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=faith, HX-Languages-Length:1286, Love, love
X-HELO: mail-wm1-f51.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=1zrwg42lWWOywSK7moSWscQQ8cuWeFAIy7t/kaqPpEM=; b=e7Lojvm+2g0+D4GdAex5VTu8+pT8geUtdyrPQSkibcRe4pQZ43V6ACBWHsTWmJpRIG /OOSAQczW5HBo3pfpZHBL7uZfq0i0oUDsIzwCoz8876Y7wK0cfciBwG229JpoQ1rJ7cE f1Mef/mjDwYtVUWpFmkv6OjtwKxIU7pDUeJXbvGaEkA9TW0g9xrtYs5M5zrGQP66FaH4 7WzejfJFCV5Lmg6HyFOxxCTwbr+0nZDEjv+poORS/DzDKmy7PqEyQG7xupBjEd0uipOH POPjPEDC9fCzpVwYEp2ByoEQitBG7c4RnSn2eRXFIegRKNCv6gEHigm0Y5CSPMnrPsvg oBwQ==
MIME-Version: 1.0
References: <f5bd0i7sai7 DOT fsf AT troutbeck DOT inf DOT ed DOT ac DOT uk> <87lfwvqhx1 DOT fsf AT Rainer DOT invalid> <f5b5znzqcll DOT fsf AT troutbeck DOT inf DOT ed DOT ac DOT uk>
In-Reply-To: <f5b5znzqcll.fsf@troutbeck.inf.ed.ac.uk>
From: Erik Soderquist <ErikSoderquist AT gmail DOT com>
Date: Thu, 18 Jul 2019 17:29:55 -0400
Message-ID: <CACoZoo0hr4Mo7Mv64RJRPfgU=R1xLcFPZwXQv55AZtTbMnhRTA@mail.gmail.com>
Subject: Re: Problems seeing/mounting partitions from ssh
To: cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

On Thu, Jul 18, 2019 at 5:04 PM Henry S. Thompson wrote:
>
> Achim Gratz writes:
>
> > Henry S. Thompson writes:
> >> But if I come in to this machine via ssh (public key or password), the
> >> virtual partitions are lost:
> >
> > That's how Windows is designed.  If you have no desktop session, then
> > none of the associated setups are triggered.
>
> Not to dismiss your point, but this happens even when there _is_ a
> desktop session.  Indeed the material showing the problem in my previous
> post came from doing

The subst command creates an illusion that exists only for the user
session (usually a desktop session) it is executed in.  The ssh
session has no desktop session at all, and is its own independent user
session.

You may be able to work around this by adding the subst command to
your .profile, but should not expect subst commands from one user
session to be visible in another user session.

-- Erik

--
"I do not think any of us are truly sane, Caleb. Not even you. Courage
is not sanity. Being willing to die for someone else is not sanity."
... "Love is not sane, nor is faith." ... "If sanity lacks those
things, Caleb, I want no part of it."

-- Alexandria Terri in "Weaving the Wyvern" by Alexis Desiree Thorne

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019