delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/04/02:39:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Tue, 4 Jun 2002 10:37:33 +0400
From: egor duda <deo AT logos-m DOT ru>
Reply-To: egor duda <cygwin AT cygwin DOT com>
Organization: deo
X-Priority: 3 (Normal)
Message-ID: <71439606704.20020604103733@logos-m.ru>
To: Bob Friesenhahn <bfriesen AT simple DOT dallas DOT tx DOT us>
CC: cygwin AT cygwin DOT com
Subject: Re: Cygwin mounts not available when logged in over network
In-Reply-To: <Pine.GSO.4.44.0206031542140.25087-100000@scooby.simplesystems.org>
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0206031542140 DOT 25087-100000 AT scooby DOT simplesystems DOT org>
MIME-Version: 1.0

Hi!

Tuesday, 04 June, 2002 Bob Friesenhahn bfriesen AT simple DOT dallas DOT tx DOT us wrote:

Please, keep this thread on-the-list. I'm intentionally setting
Reply-To: to the list address to indicate that i greatly prefer
answers to the list instead of personal e-mail.

BF> On Mon, 3 Jun 2002, egor duda wrote:
>> If your drive z: is mapped network drive it wouldn't be available from
>> other login sessions. This has nothing to do with cygwin, it's
>> restriction of windows. To check this, just try to start cmd.exe from
>> your ssh session and type 'dir z:\' there.
>>
>> You should use //host/share/ unc-style paths instead of drive letters.

BF> This gets me to a "Permission denied" message.  When I created the
BF> "Z:" drive I had to enter a username and password.  What is the
BF> workaround?

BF> % mount //scooby/bfriesen /scooby2
BF> mount: warning - /scooby2 does not exist.
BF> % ls -l /scooby2
BF> /bin/ls: /scooby2: Permission denied

Again, this has nothing to do with cygwin. Try starting cmd.exe from
ssh session and type 'dir \\scooby\bfriesen' there. You'll get the
same "Permission denied" error.

It's a windows feature. If you run some program in the separate login
session, and want to use some network resource on remote host, you
should login to that host with appropriate credentials. On windows
nt, 2000 and xp it can be done, for instance, from cmd.exe's command
line using "net use" windows command. After successful login you
should be able to read \\scooby\bfriesen share from windows programs
and, consequentially, from cygwin programs too.

Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019