From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31360 invoked by alias); 18 Jul 2019 21:30:30 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 30735 invoked by uid 89); 18 Jul 2019 21:30:20 -0000 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 Received: from mail-wm1-f51.google.com (HELO mail-wm1-f51.google.com) (209.85.128.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 18 Jul 2019 21:30:19 +0000 Received: by mail-wm1-f51.google.com with SMTP id l2so27056949wmg.0 for ; Thu, 18 Jul 2019 14:30:09 -0700 (PDT) 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: <87lfwvqhx1.fsf@Rainer.invalid> In-Reply-To: From: Erik Soderquist Date: Thu, 18 Jul 2019 21:30:00 -0000 Message-ID: Subject: Re: Problems seeing/mounting partitions from ssh To: cygwin Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-07/txt/msg00141.txt.bz2 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