X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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.fsf@troutbeck.inf.ed.ac.uk> <87lfwvqhx1.fsf@Rainer.invalid> <f5b5znzqcll.fsf@troutbeck.inf.ed.ac.uk>
In-Reply-To: <f5b5znzqcll.fsf@troutbeck.inf.ed.ac.uk>
From: Erik Soderquist <ErikSoderquist@gmail.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@cygwin.com>
Content-Type: text/plain; charset="UTF-8"
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

