[v1.7.30] Mapped shared drive lost after sshd session logout and log back in
Irwen Song
irwen@rescale.com
Thu Jun 5 21:01:00 GMT 2014
I encountered a mapped shared drive problem in 1.7.30. I can login and run the "net use" command to map a shared folder on the network. But it seems like that every time I log out the session and log back in, the mapped driver is no longer there. Previously when I was in version 1.7.28, this never happened. I'm wondering this is a bug or not. How can I keep the mapped network drive if I log out and log back in in 1.7.30? I attached my sshd session here.
Any idea is appreciated!
Cheers,
-Irwen
-------
Irwens-Retina-MacBook-Pro:~ irwen$ ssh jobrunner@168.63.123.25
Last login: Thu Jun 5 20:33:07 2014 from 70-36-123-32.dsl.dynamic.sonic.net
jobrunner@RD00155D49D85F ~
$ 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 ntfs (binary,posix=0,user,noumount,auto)
E: on /cygdrive/e type ntfs (binary,posix=0,user,noumount,auto)
jobrunner@RD00155D49D85F ~
$ net use s: '\\10.53.180.29\SHARED' /user:shareuser Pa$$w0rd /p:yes
The command completed successfully.
jobrunner@RD00155D49D85F ~
$ 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 ntfs (binary,posix=0,user,noumount,auto)
E: on /cygdrive/e type ntfs (binary,posix=0,user,noumount,auto)
S: on /cygdrive/s type ntfs (binary,posix=0,user,noumount,auto)
jobrunner@RD00155D49D85F ~
$ cd /cygdrive/s
jobrunner@RD00155D49D85F /cygdrive/s
$ exit
logout
Connection to 168.63.123.25 closed.
Irwens-Retina-MacBook-Pro:~ irwen$ ssh -p 10106 jobrunner@168.63.123.25
Last login: Thu Jun 5 20:38:58 2014 from 70-36-123-32.dsl.dynamic.sonic.net
jobrunner@RD00155D49D85F ~
$ cd /cygdrive/s
-bash: cd: /cygdrive/s: No such file or directory
jobrunner@RD00155D49D85F ~
$ 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 ntfs (binary,posix=0,user,noumount,auto)
E: on /cygdrive/e type ntfs (binary,posix=0,user,noumount,auto)
jobrunner@RD00155D49D85F ~
$
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list