Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 1997 17:03:51 -0700 (PDT)
From:      imp@village.org
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   bin/4420: find -exedir doesn't chdir for first entry
Message-ID:  <199708300003.RAA07911@hub.freebsd.org>
Resent-Message-ID: <199708300010.RAA08207@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4420
>Category:       bin
>Synopsis:       find -exedir doesn't chdir for first entry
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 29 17:10:00 PDT 1997
>Last-Modified:
>Originator:     Warner Losh
>Organization:
The Village Networking Association
>Release:        3.0-current
>Environment:
FreeBSD harmony.village.org 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Fri Aug 29 00:04:41 MDT 1997     imp@harmony.village.org:/home/imp/FreeBSD/src/sys/compile/GENERIC  i386

>Description:
% cd /usr
% find /tmp -type d -execdir pwd \;
/usr
/tmp
/tmp

For reasons unknown the first entry is down with pwd == /usr rather than
/tmp.
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708300003.RAA07911>