Date: Mon, 16 Oct 2006 13:30:38 +0400 (MSD) From: Yar Tikhiy <yar@comp.chem.msu.su> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/104456: /bin/sh unable to enter deep directories Message-ID: <200610160930.k9G9Uc7f009631@bsd.chem.msu.ru> Resent-Message-ID: <200610160940.k9G9eIss020772@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 104456 >Category: bin >Synopsis: /bin/sh unable to enter deep directories >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 16 09:40:18 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Yar Tikhiy >Release: FreeBSD 7.0-CURRENT i386 >Organization: None >Environment: FreeBSD 7.0-CURRENT i386 >Description: /bin/sh will fail to cd to a subdirectory after the path to the current directory exceeds PATH_MAX. This is not an unsolvable problem; /bin/csh doesn't suffer from it. >How-To-Repeat: Script started on Mon Oct 16 13:03:25 2006 $ pwd /usr/home/yar $ n=`printf %0255d 0` $ mkdir $n && cd $n $ mkdir $n && cd $n $ mkdir $n && cd $n $ mkdir $n && cd $n cd: can't cd to 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 $ pwd pwd: .: Result too large $ exit Script done on Mon Oct 16 13:04:05 2006 >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610160930.k9G9Uc7f009631>