delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/04/08:41:43

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
X-Server-Uuid: 2d3b7162-db1d-11d3-b8ee-0008c7dfb6f1
Message-ID: <718198F862F1D411B10F0002A50A4DB1059FE9D7@e90wwce3.dx.deere.com>
From: "Polley Christopher W" <PolleyChristopherW AT JohnDeere DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: RE: Cygwin mounts not available when logged in over network
Date: Tue, 4 Jun 2002 07:36:32 -0500
MIME-Version: 1.0
X-WSS-ID: 10E26BDB211357-01-02

This sounds like a windows problem --

[warning: this is based on knowledge of NT4/W2KPro -- I don't know how valid
it is on 95/ME/...]

If someone else is logged in to the machine interactively, the shares that
that user has will be unavaliable to you -- you must map that drive manually
with the "net use" command --

i.e. from Bash,
$ net use z: \\\\scooby\homes

(net use doen't grok the //server/share format for UNC paths)

It seems that if the (GUI) interactive user (on the machine you are logged
into) has a share assigned to a device, you can't connect a different share
to that device (you can't connect q: to \\server2\share if a connection is
already made on Q: to \\server1\share) 

I'm not sure if you can connect to the same share on the in-use device,
though.


HTH,
Chris

> -----Original Message-----
> From:	Bob Friesenhahn [SMTP:bfriesen AT simple DOT dallas DOT tx DOT us]
> Sent:	Monday, June 03, 2002 8:02 PM
> To:	egor duda
> Subject:	Re: Cygwin mounts not available when logged in over network
> 
> On Mon, 3 Jun 2002, egor duda wrote:
> 
> > BF> Does anyone know the reason for this problem?  Is there a
> workaround?
> >
> > 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.
> 
> Still no luck:
> 
> From a network login:
> 
>   % mount -s -b //scooby/homes /homes
>   mount: warning - /homes does not exist.
>   % mount
>   \\scooby\homes on /homes type system (binmode)
>   C:\cygwin\bin on /usr/bin type system (binmode)
>   C:\cygwin\lib on /usr/lib type system (binmode)
>   C:\cygwin on / type system (binmode)
>   Z: on /scooby type system (binmode)
>   c: on /cygdrive/c type user (binmode,noumount)
>   % ls -l /homes
>   /bin/ls: /homes: Permission denied
>   % id
>   uid=1006(bfriesen) gid=513(None)
>   groups=0(Everyone),513(None),544(Administrators),545(Users)
> 
> However, the 'ls -l' works fine from a console window.
> 
> Any more ideas
> 
> Bob
> ======================================
> Bob Friesenhahn
> bfriesen AT simple DOT dallas DOT tx DOT us
> http://www.simplesystems.org/users/bfriesen
> 
> 
> --
> 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/
> 


--
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