www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | Richard Foulk <richard AT skydive1 DOT com> |
Message-Id: | <200606300846.k5U8kpg8007217@sd.skydive1.com> |
Date: | Thu, 29 Jun 2006 22:46:51 -1000 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Access to Network Drive under ssh |
User-Agent: | nail 11.20 1/13/05 |
MIME-Version: | 1.0 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
> David Greene wrote: > > mwoehlke wrote: > >> You need to first do: > >> net use /delete h: > >> > >> ...so that you don't get prompted > > > > Now I get this, which is what happened before I started > > sshd as dag. Except I can still cd to //samba-drive/dag: > > > > $ net use H: \\samba-drive\dag > > System error 67 has occurred. > > > > The network name cannot be found. > > Are you on a 64-bit Windows by any chance? > If not, I won't be able to tell you why 'net' is being brain-dead, other > than "hmm, it does that sometimes; good luck!". > I've written my own mount command for Cygwin in Perl. One thing to be aware of is that drive letters aren't necessary with Cygwin. You can't say: `cd \\xyz\c$' with Windows cmd.exe. You *can* say things like: `cd //xyz/c\$' in Cygwin. This cleans up many things. If you have the right permissions `net use' isn't necessary! A wrapper for `net use' in Perl is pretty easy to do, including all the password stuff. Those drive letters just get in the way. Don't use them. Richard -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |