public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Erik Soderquist <ErikSoderquist@gmail.com>
To: cygwin <cygwin@cygwin.com>
Subject: Re: Problems seeing/mounting partitions from ssh
Date: Thu, 18 Jul 2019 21:30:00 -0000	[thread overview]
Message-ID: <CACoZoo0hr4Mo7Mv64RJRPfgU=R1xLcFPZwXQv55AZtTbMnhRTA@mail.gmail.com> (raw)
In-Reply-To: <f5b5znzqcll.fsf@troutbeck.inf.ed.ac.uk>

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

  reply	other threads:[~2019-07-18 21:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-18 14:06 Henry S. Thompson
2019-07-18 19:09 ` Achim Gratz
2019-07-18 21:03   ` Henry S. Thompson
2019-07-18 21:30     ` Erik Soderquist [this message]
2019-07-18 21:35       ` Erik Soderquist
2019-07-19  7:57         ` Henry S. Thompson
2019-07-19 19:08     ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACoZoo0hr4Mo7Mv64RJRPfgU=R1xLcFPZwXQv55AZtTbMnhRTA@mail.gmail.com' \
    --to=eriksoderquist@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).