X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:content-type:content-transfer-encoding :date:subject:to:message-id:mime-version; q=dns; s=default; b=hJ M07u2BDR5kc/T3e4NTsYfhGN6Ba5sXwx6JRi9EUNMUjch1VBlZVDj/EACdf1SMuA izJgOgWz6ZjFGLFqmcvklCeVo+rbyL13OFzLXAVYRpLaTLqdrB25eiE2JUpYHQPc P1UsaQ4xqorFIorOqmN4kns7m0l1VgKDTh1/EuLiI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:content-type:content-transfer-encoding :date:subject:to:message-id:mime-version; s=default; bh=xYQxzULO 7C50VfR5pGnAdLjOvnw=; b=qHHbJPZxpGd4oj8Q3EmuB8z9YheWHxbG695U1wly 3YmgxkMf1LivbINpgNDmnRCfuDUKZoUiNxqEVsL3emeypUPRS6I/FMcFe+MTUUjA IiZPMl5O2fPJQc0gryhn4ODLhZUHdMtCFrQLrTp5lhROcTsZfaad0uEGklX9mPU+ Jqo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pb0-f50.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:content-transfer-encoding:date :subject:to:message-id:mime-version; bh=1bWcxi4UeNUzYIWP1bAc5z0Q6K83uEzRBmR3CGBFIns=; b=J7CAHnVXKDbrmelhQARJZ/Rg7E8bhQm2ohLKZvtJL+VQ/bKeI3JWOHtbJSq3fzQwx7 tTGXwyrEiXn1QeJX7wbuBcRgxClGkcVDaWMceQ9/QPFFcfsvf6mms4y/yglnJs20SS2O jllHthc/xm8adKkdxalvPjIzFgFokDM3SXpk5nyEejaWciQWUJQLedxeE9py3/5fhXdf 5vzC37aV+0rUAcG03kTLFqK23qXJ1IDusgmm3k7VSfLb8SO9JZMdv4Eqs+4DgWxXvowH t74Vs2Dx/IYhiYFur+vLFMIgTUYOcpMuIjvekxS2mTz1PnjK74c7/c2NzUplKsz5EhZx XSRQ== X-Gm-Message-State: ALoCoQmpeT6S+War1aJ6OIGMfqvDKz8QOmJBYYo+TCEsgRfTpdxrI4Gy0iXjVbtfxCSgvK1POvbq X-Received: by 10.68.166.36 with SMTP id zd4mr497867pbb.54.1402002063242; Thu, 05 Jun 2014 14:01:03 -0700 (PDT) From: Irwen Song Content-Type: text/plain; charset=us-ascii Date: Thu, 5 Jun 2014 14:01:00 -0700 Subject: [v1.7.30] Mapped shared drive lost after sshd session logout and log back in To: cygwin AT cygwin DOT com Message-Id: <9814BCCE-55A8-4E7D-B99A-863523E18F9A@rescale.com> Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s55L1JaH027728 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 AT 168 DOT 63 DOT 123 DOT 25 Last login: Thu Jun 5 20:33:07 2014 from 70-36-123-32.dsl.dynamic.sonic.net jobrunner AT 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 AT RD00155D49D85F ~ $ net use s: '\\10.53.180.29\SHARED' /user:shareuser Pa$$w0rd /p:yes The command completed successfully. jobrunner AT 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 AT RD00155D49D85F ~ $ cd /cygdrive/s jobrunner AT RD00155D49D85F /cygdrive/s $ exit logout Connection to 168.63.123.25 closed. Irwens-Retina-MacBook-Pro:~ irwen$ ssh -p 10106 jobrunner AT 168 DOT 63 DOT 123 DOT 25 Last login: Thu Jun 5 20:38:58 2014 from 70-36-123-32.dsl.dynamic.sonic.net jobrunner AT RD00155D49D85F ~ $ cd /cygdrive/s -bash: cd: /cygdrive/s: No such file or directory jobrunner AT 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 AT 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