[cygwin] Re: virtual box shares are visible in the window, but not in an ssh session

Jason Pyeron jpyeron@pdinc.us
Mon Aug 17 22:21:44 GMT 2020


> From: Andrey Repin
> Sent: Monday, August 17, 2020 5:16 PM
> 
<snip/>
> > E: on /cygdrive/e type vboxsharedfolderfs
> > (binary,posix=0,user,noumount,auto)
> 
> Don't map shares to disk letters.
> It's that simple.
> 
<snip/>
> > 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.



More information about the Cygwin mailing list