Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Authentication-Warning: denzel.in: rtroy owned process doing -bs Date: Fri, 11 Jul 2003 09:22:21 -0700 (PDT) From: Richard Troy X-X-Sender: To: Subject: More Re: flaky disk share access In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII ...Hmmm... I was intrigued by the other person's report a few minutes ago that they'd had problems with net.exe output but that according to them it was working. So, I did a little testing... On my W2000 system, the Cygwin Bash shell started from the default icon can run net.exe and gets output that the ssh session doesn't get, but it does NOT work properly. ONLY from the 'dos command prompt' window does net.exe work correctly. So, there appear to be THREE different levels of behavior: Dos prompt - everything works, Cygwin Bash - gets help output and current state output but commands to change things don't work, and an ssh session - is like Cygwin Bash but can't get help output. Harumph. Comments still welcome. Richard -- Richard Troy, Chief Scientist Science Tools Corporation rtroy AT ScienceTools DOT com, 510-567-9957, http://ScienceTools.com/ On Fri, 11 Jul 2003, Richard Troy wrote: > Date: Fri, 11 Jul 2003 09:06:26 -0700 (PDT) > From: Richard Troy > To: cygwin AT cygwin DOT com > Subject: Re: flaky disk share access > > > Hi Igor, All, > > thanks for the prompt reply. Unfortunately, 'net use' does _not_ work. > -frown- > > ...I brought up three windows on the box, a Cygwin Bash session, an SSH > session (F-Secure client), and a "dos command prompt". The Bash session > and the dos prompt window work identically, but the ssh session doesn't > work at all. Since this is the first I've used the 'net' command, I'm not > entirely sure what to expect from it, but it was frustrating that I > couldn't even get it to spit out help on the ssh session, though help > worked fine on the Bash and dos prompt windows. > > >From the ssh session, 'net use' returns: > > $ net use > New connections will be remembered. > > > Status Local Remote Network > > ------------------------------------------------------------------------------- > Unavailable K: \\fs1\Commons Microsoft Windows Network > Unavailable S: \\fs1\software Microsoft Windows Network > Unavailable U: \\fs1\users Microsoft Windows Network > The command completed successfully. > > ...Whereas in both of the other sessions, the Status is listed as "OK". > > When I try other commands, there seems to be some kind of terminal > interaction problem. For example, in the following example, I only entered > the command at the system prompt, and it returned me to the system prompt > without pausing for my interaction: > > $ net use k: rtroy > k: has a remembered connection to \\fs1\Commons. Do you > want to overwrite the remembered connection? (Y/N) [Y]: > No valid response was provided. > > $ > In other cases, it just runs silently, but has no apparent effect, for > example, the following just return to the system prompt: > > $ net use /user:rtroy > > $ net use * /user:rtroy > > ...Since I've never successfully used 'net use', I'm still struggling a > little with the syntax, but that asside, 'net' isn't having a normal user > interation dialogue with me, I don't think. > > Any further comments greatly appreciated. > > 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/