virtual box shares are visible in the window, but not in an ssh session

marty leisner maleisner@gmail.com
Mon Aug 17 16:11:11 GMT 2020


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@yahoo.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@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@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@yahoo.com),262154(NTLM
Authentication),405504(High Mandatory Level)

marty

On Mon, Aug 17, 2020 at 12:03 PM Eliot Moss <moss@cs.umass.edu> wrote:

> 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.
> >
> > Not sure why....
>
> Dear Marty: I think we (I, anyway) can be more helpful with some more
> information.
>
> - What is "the virtual box share" here?
>
> - 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?
>
> Regards - Eliot Moss
>


More information about the Cygwin mailing list