X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D1A993858D37
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=pdinc.us
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jpyeron@pdinc.us
DKIM-Filter: OpenDKIM Filter v2.11.0 mail1.pdinc.us 07HMLYWR021638
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pdinc.us; s=default;
 t=1597702895; bh=y5vNHtM+Dl4hHwaGdXiEx5ENUe2JEYtB3y9ZwAxtsoM=;
 h=From:To:Cc:References:In-Reply-To:Subject:Date:From;
 b=f8GvUqdTq7AxDJ4IKJEPxz56eY3OGdTmpG9htX0ctO7hZXrDInmbGBQnAvSBHsPXB
 66jGEnCQwsOQHIkRIHd/KS6kzUKddr63bUFlRM1fLulnd6lt/JE+1G//4GnCGH0GED
 mjrlnmumbqk4mIRcAuXYUkvBc894SixzOWBHZTVkTouh6nGl3h9Xg3dwXx2YNqjyU8
 wdquewwva7ia5VyxHxqEgysCx0vEBSVXm4rQsVjgHaMCJERly3G5An36qBkZQjZH2n
 bWQpUuV2NaqgamyN0JttM0w7gW6m82XDphVPiQ5KTpbowgOF8WKeUu5Zomw2eI3/H4
 ZUlRiBFg2y2eA==
From: "Jason Pyeron" <jpyeron@pdinc.us>
To: <cygwin@cygwin.com>
References: <CAPNO-hZeE2j_3rD2j0pcS3=4G2zyiMRUnbXqLt2yKa_W1cyYMQ@mail.gmail.com>
 <e794c853-9d3f-51bb-a91f-a3d7275dc014@cs.umass.edu>
 <CAPNO-ha_wzTCBkr+S3aB9XQJXweQD0yvjNCYDBPjaStc=tY2CQ@mail.gmail.com>
 <546179025.20200818001544@yandex.ru>
In-Reply-To: <546179025.20200818001544@yandex.ru>
Subject: RE: [cygwin] Re: virtual box shares are visible in the window,
 but not in an ssh session
Date: Mon, 17 Aug 2020 18:21:44 -0400
Organization: PD Inc
Message-ID: <075a01d674e4$ca777440$5f665cc0$@pdinc.us>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 16.0
Content-Language: en-us
Thread-Index: AQITvLFnggo4bemdYTejSbOzukXHfAE3QRQkAhZWJWQCHhw+n6iW8avA
X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_INFOUSMEBIZ, SPF_HELO_PASS,
 SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

> From: Andrey Repin
> Sent: Monday, August 17, 2020 5:16 PM
> 
<snip/>
> > E: on /cygdrive/e type vboxsharedfolderfs
> > (binary,posix=0,user,noumount,auto)
> 
> Don't map shares to disk letters.
> It's that simple.
> 
<snip/>
> > This is in the remote ssh:
> > $ df
> > Filesystem     1K-blocks     Used Available Use% Mounted on
> > C:/cygwin64     51856440 45549844   6306596  88% /
> > D:                 48666    48666         0 100% /cygdrive/d
> 
> Indeed, logging in via SSH, you get a separate session, in which your drives
> aren't mapped.
> See above, drop this poor habit of mapping them to letters.
> Use UNC paths directly or symlink them at convenient locations.

In my experience it is not that simple, the UNC will still likely have access issues, hence my request for tests.

We typically use the fstab to mount them in Cygwin, since things like git misbehave with all the slashes. But even then if the user context (due to admin or AD) is wonky - no access.

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