X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT 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 AT pdinc DOT 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" To: References: <546179025 DOT 20200818001544 AT yandex DOT 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" > From: Andrey Repin > Sent: Monday, August 17, 2020 5:16 PM > > > E: on /cygdrive/e type vboxsharedfolderfs > > (binary,posix=0,user,noumount,auto) > > Don't map shares to disk letters. > It's that simple. > > > 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