delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/08/17/17:20:56

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 0E7B03858D37
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yandex.ru
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=anrdaemon AT yandex DOT ru
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
t=1597699202; bh=tIDn7PtZlmLTzcFZ6QARwkMyVxXXA8p6LR6XJwoQFC4=;
h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date;
b=PA18cqq/PNNSWCkdWHMQqRx+hs2s5iELzo+yeA3mohSwJ3Cji4Wq8k1ECu8vAJSjB
LwOJdZf9NwnJLqvR+D2DiMAvEhWEKOqoXxCJy3PBbKqIROMVcrRZk8ov6iiLsqbOOY
LKvwpmA7KZ6kCA6yVHcciIZ421Kpsr0gAqhlq+ZI=
Authentication-Results: mxback8j.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Tue, 18 Aug 2020 00:15:44 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v6.8.8) Home
X-Priority: 3 (Normal)
Message-ID: <546179025.20200818001544@yandex.ru>
To: marty leisner <maleisner AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: virtual box shares are visible in the window,
but not in an ssh session
In-Reply-To: <CAPNO-ha_wzTCBkr+S3aB9XQJXweQD0yvjNCYDBPjaStc=tY2CQ@mail.gmail.com>
References: <CAPNO-hZeE2j_3rD2j0pcS3=4G2zyiMRUnbXqLt2yKa_W1cyYMQ AT mail DOT gmail DOT com>
<e794c853-9d3f-51bb-a91f-a3d7275dc014 AT cs DOT umass DOT edu>
<CAPNO-ha_wzTCBkr+S3aB9XQJXweQD0yvjNCYDBPjaStc=tY2CQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, 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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Greetings, marty leisner!

[ Please do not top-post in this list. ]

> Its a virtual box shared folder -- I'm mapping "src" to /usr/local/src on
> the host system.

> $ df
> Filesystem     1K-blocks      Used Available Use% Mounted on
> C:/cygwin64     51856440  45548104   6308336  88% /
> D:                 48666     48666         0 100% /cygdrive/d
> E:             302054400 237185024  64869376  79% /cygdrive/e
> $ mount
> C:/cygwin64/bin on /usr/bin type ntfs (binary,auto)
> C:/cygwin64/lib on /usr/lib type ntfs (binary,auto)
> C:/cygwin64 on / type ntfs (binary,auto)
> C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
> D: on /cygdrive/d type iso9660 (binary,posix=0,user,noumount,auto)
> E: on /cygdrive/e type vboxsharedfolderfs
> (binary,posix=0,user,noumount,auto)

Don't map shares to disk letters.
It's that simple.

> $ id
> uid=197609(marty) gid=197609(marty) groups=197609(marty),401408(Medium
> Mandatory Level),545(Users),559(Performance Log
> Users),4(INTERACTIVE),66049(CONSOLE LOGON),11(Authenticated Users),15(This
> Organization),68578(MicrosoftAccount+martyleisner AT yahoo DOT com),113(Local
> account),4095(CurrentSession),66048(LOCAL),262180(Cloud Account
> Authentication)

> 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.


-- 
With best regards,
Andrey Repin
Tuesday, August 18, 2020 0:13:28

Sorry for my terrible english...

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019