We need a user's Linux home directory (which is exported via NFS and Samba) to be that same user's home directory in a Cygwin bash shell invoked via ssh.

Shell windows at the Windows console include network mounted drives such as W: (mounted to //machine/exportedDirectory via Samba) which appears in /cygdrive/w

When connected externally with ssh, /cygdrive/w is not mounted.

Is there a way to accomplish this?


You might be seeing an ntsec issue: https://cygwin.com/faq.html#faq.using.shares

I've personally never gotten it to work quite right, but from the faq it looks like there are some workarounds...

  • Thanks for the pointer. Somewhere around the "Well known SIDS" article my head exploded. – lcbrevard Aug 30 '11 at 17:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.