delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/27/16:57:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Dick <dick AT mrns DOT nl>
Subject: Re: Cygwin acts weird to / in a chroot
Date: Fri, 27 Mar 2009 21:57:20 +0000 (UTC)
Lines: 14
Message-ID: <loom.20090327T215015-776@post.gmane.org>
References: <loom DOT 20090323T202144-751 AT post DOT gmane DOT org> <20090323204510 DOT GA9322 AT calimero DOT vinschen DOT de> <loom DOT 20090323T204630-746 AT post DOT gmane DOT org> <49C7F72F DOT 4010008 AT cygwin DOT com>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Larry Hall (Cygwin <reply-to-list-only-lh <at> cygwin.com> writes:
> Type 'mount' and I think that will help you see what's happening.

Hmm, that seems to be a bug in mount, cygpath -a -w . from within a chroot
returns a correct (chrooted) path.

It is very weird because "cat /test.sh" works from a chroot and even ". /test.sh"
works from a shell. It almost look like a bug in bash or a bug which only occures
in a shell.

Any suggestions?

gr
Dick


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019