delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/08/17/12:32:54

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 07C3A3857C45
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=cs.umass.edu
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=moss AT cs DOT umass DOT edu
Subject: Re: virtual box shares are visible in the window, but not in an ssh
session
Cc: cygwin AT cygwin DOT 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>
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Message-ID: <2dd4b632-294a-eea7-efba-eb6f4803ceed@cs.umass.edu>
Date: Mon, 17 Aug 2020 12:32:06 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.11.0
MIME-Version: 1.0
In-Reply-To: <CAPNO-ha_wzTCBkr+S3aB9XQJXweQD0yvjNCYDBPjaStc=tY2CQ@mail.gmail.com>
X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
MISSING_HEADERS, NICE_REPLY_A, 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: moss AT cs DOT umass DOT edu
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 07HGWZW8007348

On 8/17/2020 12:11 PM, marty leisner wrote:
> 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)
> 
> $ 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 
> <mailto:MicrosoftAccount%2Bmartyleisner 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
> 
> marty AT windows10 ~
> $ 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)
> 
> marty AT windows10 ~
> $ id
> uid=197609(marty) gid=197609(marty) groups=197609(marty),197121(None),114(Local account and member 
> of Administrators group),544(Administrators),545(Users),2(NETWORK),11(Authenticated Users),15(This 
> Organization),113(Local account),4095(CurrentSession),68578(MicrosoftAccount+martyleisner AT yahoo DOT com 
> <mailto:MicrosoftAccount%2Bmartyleisner AT yahoo DOT com>),262154(NTLM Authentication),405504(High 
> Mandatory Level)

So we see that in the second case, E: is not seen by Cygwin.  Does Windows show it to be mounted?  I 
am wondering if the difference is something about VBox and Windows not mounting E: in the second 
case, or if it is something about Cygwin not picking up on E: even if it _is_ mounted.  In the first 
case, it's not a Cygwin issue, but a Windows/VBox one.  In the second case, it's something about 
Cygwin, and we would want information about what Windows shows about the mounted E: share.

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