Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <00ac01c1eafd$520f1470$03dad741@2kiisikon>
From: "Chris Ellsworth" <cke@highlandshighspeed.net>
To: "Michael A Chase" <mchase@ix.netcom.com>, <cygwin@cygwin.com>
References:  <4.3.1.2.20020423125430.0276e388@pop.ma.ultranet.com><003401c1eaee$b6458550$03dad741@2kiisikon> <E1705x9-0006xT-00@maynard.mail.mindspring.net>
Subject: Re: Cygdrive mounts
Date: Tue, 23 Apr 2002 12:30:26 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

oh well
i think what im going to do is put all the users that connect into a
group then give that group deny rights to C:\ and other drives
that would probly do it for me.

----- Original Message -----
From: "Michael A Chase" <mchase@ix.netcom.com>
To: "Chris Ellsworth" <cke@highlandshighspeed.net>;
<cygwin@cygwin.com>
Sent: Tuesday, April 23, 2002 12:27 PM
Subject: Re: Cygdrive mounts


> On Tue, 23 Apr 2002 10:45:52 -0700 Chris Ellsworth
<cke@highlandshighspeed.net> 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}:$
>
> You are likely doomed to disappointment.  Even if you disable
/cygdrive/c,
> c:/xxx will probably still work.  Perhaps sshd will allow you to
specify a
> local root.  You can link or mount whatever you want to allow access
to
> from inside there.
>
> I tried "umount -U -c" and "umount -c", but neither worked for me,
probably
> a local system problem.  I was able to delete the information in the
> registry (HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts
v2),
> but I don't know what other side effects might result so I'm putting
it
> back right away.
>
> --
> Mac :})
> ** I normally forward private questions to the appropriate mail
list. **
> Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.htm
> Give a hobbit a fish and he eats fish for a day.
> Give a hobbit a ring and he eats fish for an age.
>
>
>


--
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/

