Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-Id: <4.3.1.2.20020423145144.027790e0@pop.ma.ultranet.com> X-Sender: lhall@pop.ma.ultranet.com Date: Tue, 23 Apr 2002 14:58:24 -0400 To: "Chris Ellsworth" , From: "Larry Hall (RFK Partners, Inc)" Subject: Re: Cygdrive mounts In-Reply-To: <003401c1eaee$b6458550$03dad741@2kiisikon> References: <4.3.1.2.20020423125430.0276e388@pop.ma.ultranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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)" >To: "Chris Ellsworth" ; > >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/