Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <4.3.1.2.20020423145144.027790e0@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT 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 DOT 3 DOT 1 DOT 2 DOT 20020423125430 DOT 0276e388 AT pop DOT ma DOT ultranet DOT 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 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)" >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 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/