This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygdrive mounts


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@rfk.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@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@2k-iis-ikon]~:{104}:$ umount -U
>[admin@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@2k-iis-ikon]~:{106}:$
>
>----- Original Message -----
>From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
>To: "Chris Ellsworth" <cke@highlandshighspeed.net>;
><cygwin@cygwin.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@rfk.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]