From owner-freebsd-bugs@FreeBSD.ORG Tue Oct 17 17:50:30 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C76D016A403 for ; Tue, 17 Oct 2006 17:50:30 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D45743D49 for ; Tue, 17 Oct 2006 17:50:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k9HHoSuW099232 for ; Tue, 17 Oct 2006 17:50:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9HHoS2P099230; Tue, 17 Oct 2006 17:50:28 GMT (envelope-from gnats) Date: Tue, 17 Oct 2006 17:50:28 GMT Message-Id: <200610171750.k9HHoS2P099230@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Yar Tikhiy Cc: Subject: Re: bin/104456: /bin/sh unable to enter deep directories X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Yar Tikhiy List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Oct 2006 17:50:30 -0000 The following reply was made to PR bin/104456; it has been noted by GNATS. From: Yar Tikhiy To: bug-followup@FreeBSD.org Cc: Subject: Re: bin/104456: /bin/sh unable to enter deep directories Date: Tue, 17 Oct 2006 21:44:50 +0400 At the same time, csh has another silly limit, as do all shells that export $PWD. Even if they can pass the PATH_MAX border by constructing $PWD without help from getcwd(), the large string eventually overflows the environment due to the ARG_MAX limit, and external commands fail to run after that with E2BIG errno. -- Yar