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

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 289E03857C45
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 07HGFTUu009557
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pdinc.us; s=default;
t=1597680930; bh=8ei6z6p2oBsuZ9DMG8uxE9tJ0c5wqln6nxyHDiOPABA=;
h=From:To:Cc:References:In-Reply-To:Subject:Date:From;
b=nV9M5a4Ki63mzWhXXcgIdWhQ0rUfBzzBpf0o67VanmYaHOxrGR9zf3qGbM1Z1hcXR
bdAwxSSlDqEfn/12cgFYVzvHg//UHKYsxcN8PECTlGap/9yhG9+QqBrasYmjl3ioOy
Njn0qmxtSpMJxVyxAEiQVxljdj+aedhjDQn6+YNA5cD1HGMk9u1cMZS6evCBnHCbFZ
D2p+ZikzqQexoxN0XbSm0KxjqdyJWNmGKG2QeG5NEhf60SqXDP7KLk2IJZsr01+8iV
3hXiCtdBlX9GgYSKjaeizqJd5aW++gApJSLA6sulrLYsxJaizzg+SZEWUiYUziC4Nx
Q42ALqU9EuFeA==
From: "Jason Pyeron" <jpyeron AT pdinc DOT us>
To: <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>
In-Reply-To: <e794c853-9d3f-51bb-a91f-a3d7275dc014@cs.umass.edu>
Subject: RE: [cygwin] Re: virtual box shares are visible in the window,
but not in an ssh session
Date: Mon, 17 Aug 2020 12:15:39 -0400
Organization: PD Inc
Message-ID: <05d901d674b1$a64ac640$f2e052c0$@pdinc.us>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQITvLFnggo4bemdYTejSbOzukXHfAE3QRQkqLgtW/A=
X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_20, 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 <cygwin.cygwin.com>
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>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

> -----Original Message-----
> From: Eliot Moss
> Sent: Monday, August 17, 2020 12:04 PM
> 
> On 8/17/2020 11:36 AM, marty leisner via Cygwin wrote:
> > This is interesting...
> >
> > I'm running windows 10 in Vbox on linux and use cygwin with a bash shell.
> >
> > When I start my shell on the windows (and if I run konsole to get screen on
> > my xdesktop) I see the virtual box share.
> >
> > But when I ssh in I don't.

Please understand that if the user is an admin, it will be with the highest permissions. Also if logging in via PKI instead of password you will have a slightly different security token. Is this a an Active Directory joined machine?

> >
> > Not sure why....
> 

Please test/demonstrate the following:

Run CMD.exe

dir \\virtual\box\share\folder\

Run CMD as admin

dir \\virtual\box\share\folder\

Run cygterm

ls //virtual/box/share/folder/

Run cygterm as admin

ls //virtual/box/share/folder/

create local user, not in the Administrators group (regular user)

ssh in "your normal way"

id -G
# does it have 544 listed?

ssh in using password

ls //virtual/box/share/folder/

> Dear Marty: I think we (I, anyway) can be more helpful with some more information.
> 
> - What is "the virtual box share" here?

If it is like VMWare, then it is a windows file share provided by a special device driver.

If not, it ***MAY*** require some agent to run at user log on.

> 
> - What does "see" mean?  That is, what specific command(s) are you using, and what are the
>    outputs you get that lead you to this conclusion?
> 
> - Are we talking about Cygwin bash in both cases?  The same user logged in?

@Marty - please answer Eliot's questions too,


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