Mail Archives: cygwin/2002/06/04/08:41:43
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 -