Mail Archives: cygwin/2002/04/23/15:02:15
OK, I see what you're doing. I thought this might be what you were driving
at. You're trying to use the wrong tools to limit access. Even if you
could unmount the drives in question, there's nothing to stop the user
from remounting them as they like. You need to use file access permissions,
either through Windows or Cygwin (with ntsec set) to make this work as you
want.
Larry Hall lhall AT rfk DOT com
RFK Partners, Inc. http://www.rfk.com
838 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
At 01:45 PM 4/23/2002, Chris Ellsworth wrote:
>I am doing install of this for sshd on windows for clients for the
>purpose of forwarding ports for access such as VNC, pcanywhere FTP and
>other items and i dont want to give access to the other areas of the
>drives. I tryed the umount command and have not sucessfully removed
>it. maybe i am doing something but here is what i have done.
>
>[admin AT 2k-iis-ikon]~:{103}:$ mount
>c:\cygwin\bin on /usr/bin type system (binmode)
>c:\cygwin\lib on /usr/lib type system (binmode)
>c:\cygwin on / type system (binmode)
>c: on /cygdrive/c type user (textmode,noumount)
>f: on /cygdrive/f type user (textmode,noumount)
>[admin AT 2k-iis-ikon]~:{104}:$ umount -U
>[admin AT 2k-iis-ikon]~:{105}:$ mount
>c:\cygwin\bin on /usr/bin type system (binmode)
>c:\cygwin\lib on /usr/lib type system (binmode)
>c:\cygwin on / type system (binmode)
>c: on /cygdrive/c type user (textmode,noumount)
>f: on /cygdrive/f type user (textmode,noumount)
>[admin AT 2k-iis-ikon]~:{106}:$
>
>----- Original Message -----
>From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
>To: "Chris Ellsworth" <cke AT highlandshighspeed DOT net>;
><cygwin AT cygwin DOT com>
>Sent: Tuesday, April 23, 2002 9:56 AM
>Subject: Re: Cygdrive mounts
>
>
> > At 12:52 PM 4/23/2002, Chris Ellsworth wrote:
> > >Is there a way to disable the mounting of the drives either via a
> > >cygwin command or modifying the registry?
> >
> >
> > The command would be 'umount'. Why do you want to do this?
> >
> >
> > Larry Hall lhall AT rfk DOT com
> > RFK Partners, Inc. http://www.rfk.com
> > 838 Washington Street (508) 893-9779 - RFK Office
> > Holliston, MA 01746 (508) 893-9889 - FAX
> >
> >
> > --
> > 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/
--
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 -