bin/104456: /bin/sh unable to enter deep directories
Yar Tikhiy
yar at comp.chem.msu.su
Mon Oct 16 02:40:22 PDT 2006
>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:
More information about the freebsd-bugs
mailing list